Skip to content

engineerjoe440/schemdraw-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a simpler way to document circuits in markdown

Inspiration: This project is inspired by the wonderful project: plantuml-markdown. So, shoutout to the folks who've toiled on that project to make it great!

Usage

This package allows you to configure a schematic drawing, directly in markdown using a code-fenced sample as follows:

::schemdraw:: alt="My super diagram"
    += elm.Resistor().right().label('1Ω')
    += elm.Capacitor().down().label('10μF')
    += elm.Line().left()
    += elm.SourceSin().up().label('10V')
::end-schemdraw::

⚠️ Security Note

This package makes use of Python's exec functionality, which is inherently somewhat insecure, as it allows for arbitrary code execution. Only carfully curated drawings logic should be used.

Installation

Installing from PyPI

Yeah! It's "official," now! You can just pip-install the package with:

$ pip3 install schemdraw-markdown

Installing from Source

  1. Clone Repository
  2. From within local Repository folder, issue:
pip install .

About

schemdraw in markdown files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages