Skip to main content

Editing feature for github, markdown file.

Project description

pip install GitEdit

   from editfile.util import createContent,m
   algebra = [
   m("a^2-b^2 = (a-b)(a\dotplus{b})"),
   m("\displaystyle x = \\frac{-b\pm\sqrt{b^2-4ac}}{2a}")
   ]
   tri = [
    m("sin\\theta")
   ]
   integral = [
   m("\displaystyle \int_0^2{x^2}dx")
   ]
   diff = [
    m("x^2 \\frac{dy}{dx}")
   ]
   prob = [
    m("\sigma^2")
   ]

topic = ["Mathematics",
           ["1. Algebra",algebra,
           "2. Trigonometry",tri,
           "3. Integral",integral,
            "4. Differentiation",diff,"5. Propability",prob],
          "Physics",["1. Quantum","2. Wave motion","3. Heat and Thermodynamics","4. Optics","5. Semiconductor"],
           "Chemistry",[
             "1. Periodic table",
             "2. Inorganic",
             "3. Organic"
            ]
         ]


createContent("test.md",expandColor="blue",data=topic)

Output

View in test.md file

Mathematics
    1. Algebra
2. Trigonometry
3. Integral
4. Differentiation
5. Propability
Physics
    1. Quantum
    2. Wave motion
    3. Heat and Thermodynamics
    4. Optics
    5. Semiconductor
Chemistry
    1. Periodic table
    2. Inorganic
    3. Organic

Watch the video

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GitEdit-0.0.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

GitEdit-0.0.5-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file GitEdit-0.0.5.tar.gz.

File metadata

  • Download URL: GitEdit-0.0.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for GitEdit-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0affe2115baa8c401a05127a1f973c8b88baa4af346a7da92a47af7b25c00be4
MD5 68e2d621e72a8d1b7d360e4db54e7c05
BLAKE2b-256 1041de10d31086ff1bc319fc2141df5d8d2872a0443b6ab839dbdda264658888

See more details on using hashes here.

File details

Details for the file GitEdit-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: GitEdit-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for GitEdit-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bfdb63c4ad747f9edec31c8ac219a06ced2b1fb20f4f1f505e880629ff53c2f5
MD5 616a67048104bcaa530af588f250ed9b
BLAKE2b-256 bc4215bac26085892b586e7d43e45446be8192a7412b6b27c3f2c3ceb1ef165c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page