Skip to content

md2html#11

Open
chengpengzhao wants to merge 7 commits intoi5ting:masterfrom
chengpengzhao:master
Open

md2html#11
chengpengzhao wants to merge 7 commits intoi5ting:masterfrom
chengpengzhao:master

Conversation

@chengpengzhao
Copy link
Copy Markdown

md2html

A tool that converts markdown(.md) file to single, offline html(.html) file.

Features

  1. Portability: Include everything in only one .html file
  2. Convenience: No internet access

  • Powerful markdown compatibility (use marked as its parser and compiler)
  • Table of contents preview (TOC will be created at the left side)
  • TOC automatic numbering (no need of manual nubmering. When already numbered, it won't renumbering if the number is correct)
  • Image to base64 (find all localized images embedded to markdown and convert them to base64 encoded data)
  • LaTeX support (use KaTeX, all font files have converted into base64 encoded data)
  • PlantUML support (convert uml to encoded <img> links or use plantuml.jar to generate .svg files)
  • mermaid support
  • flowchart support

Demo

  1. basicTest(in Chinese)
  2. katexSupportTest
  3. latexTest1(in Chinese)
  4. latexTest2(in Chinese)

Usage

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

VersionLog

License

Copyright (c) 2021, cpZhao. (MIT License)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant