Skip to content

Latest commit

Β 

History

History
50 lines (34 loc) Β· 968 Bytes

File metadata and controls

50 lines (34 loc) Β· 968 Bytes

πŸ¦€ rust_down

A Markdown processor built to learn rust; ( and markdown needed some flavour anyway )

✨ Features

  • Headings (# to ######)
  • inline Bold and Italic support ==Highlight==
  • Blockquotes with variants:
    • > β†’ info block (blue)
    • >> β†’ danger block (red)
    • >>> β†’ hint block (green)
  • Language Specific Syntax highlighting for code blocks
  • Images and horizontal rules
  • A custom table syntax (because standard Markdown tables suck):

:::table
heading1, heading2
value1, value2
value3, value4
:::


πŸš€ Usage

You can run it in two ways:

With Cargo:

cargo run -- <path_to_markdown> <path_to_stylesheet>

Or, just run the binary:

./rust_down <path_to_markdown> <path_to_stylesheet>

markdown_content

code_block rendered_code_block

rendered_html