Skip to content

Parses markdown docs into HTML. Used to generate brubeck.io.

Notifications You must be signed in to change notification settings

j2labs/markupupdowndown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markupupdowndown

Markupupdowndown is a ridiculous name for a simple script. It translates the markdown found in you src directory into html and puts it in your html directory using Trent Mick's markdown2 library.

The code is available here: https://github.com/j2labs/markupupdowndown.

Markdown2

To install markdown2, use the command below.

pip install markdown2

Using it

Create your config by putting the following lines in an upupdowndown.py and adjust as necessary.

src_dir = './src/'
html_dir = './html/'
header_file = '%s%s' % (src_dir, 'header.html')
footer_file = '%s%s' % (src_dir, 'footer.html')

Then just do it.

C'mon... do it.

./cmon_doit.py

Some examples

How about some headers??

Header3

Some text

Header4

Some text

Header5

Some text

Header6

And maybe a list?

  • bullet point a
  • bullet point b
  • bullet point c

And a numbered list?

  1. hi
  2. hi
  3. hi
  4. hi
  5. hi

Sweet.

License

BSD, as usual

About

Parses markdown docs into HTML. Used to generate brubeck.io.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages