Skip to content

PS-Wizard/rust_down

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦀 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

About

Learning Rust By Making A Markdown Processor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors