Skip to content

333-9/awk-html-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script formats markdown-like syntax into HTML.

example

differences from markdown

  • / defines italic text normal /italic/ normal
  • * defines bold text
  • ` defines inline code
  • + will be translated into ordered list
  • >> is used to specify quote author
  • --- translates into horizontal line
  • Paragraphs are separated by 2 blank lines
  • Only 3 titles are recognized (# to ###)
  • ``` on it's own line will begin/end code block

references and images

.IMG and .REF at beginning of line specify images and links. Source, or reference comes first, then the name after | separator.

.IMG pic.png | picture
.REF example.html | example

default style

by default markdown.awk includes link to main.css, if you want to change it, edit the makrdown.awk's BEGIN block.

About

generates html sites from markdown-like syntax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published