Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md2html

A tiny Markdown-to-HTML tool written in C.

Goals

  • Develop a lightweight md to html tool for my personal website
  • Learn software engineering practices, including how to write coherent, maintainable and testable code
  • Achieve zero memory leaks under ASan

Usage

Synopsis

md2html <input_file> [options]

Options

Option Necessary Value Description
-o <file> Yes path/to/output Set output path
-h No None Print usage

Example

Convert markdown file to HTML file:

md2html input.md -o output.html

TODO

Core

  • Basic lexer-parser structure
  • Basic test cases

Build System

  • Refactor the Makefile
    • Support source file compilation in recursive folders
    • Support debug/release configuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages