4 releases

0.2.1 Oct 22, 2021
0.2.0 Oct 22, 2021
0.1.1 Oct 21, 2021
0.1.0 Sep 18, 2021

#17 in #parse-markdown

MIT license

20KB
506 lines

Writing

a document-code sync tools for setup.

process

  1. read markdown file
  2. parse markdown code
  3. insert new code
  4. generate new code

DSL Design

by Lines

// doc-code: file("src/lib.rs").line()[1, 5]

by Section (Todo)

// doc-section: file("src/lib.rs").section("section1")

by Function (Todo)

// doc-func: file("src/lib.rs").func()["pre_process_file", "process_file"]

Documents

API 库的文档体系支持:主流编程语言的文档设计

文档工程体验设计:重塑开发者体验

License

@ 2021 This code is distributed under the MIT license. See LICENSE in this directory.

Dependencies

~19–28MB
~582K SLoC