Markdown
API Documentation | Changelog | Contributing
This repository contains two projects for working with Markdown documents:
-
markdown-ast
— a Rust crate modeling Markdown syntax as an AST. -
ConnorGray/Markdown
— a Wolfram paclet providing a symbolic representation of Markdown elements, and (TODO) notebook frontend support for opening and editing .md files.
Quick Examples
Parse a Markdown document into an AST in Rust:
use ;
let ast = markdown_to_ast;
assert_eq!;
File Overview
-
./crates/markdown-ast
: source code for the general-purposemarkdown-ast
crate. -
./paclets/Markdown/
: source code for theConnorGray/Markdown
paclet. -
./crates/md2nb/
: source code for themd2nb
command-line utility. -
./crates/wolfram-markdown-link
: source code for the LibraryLink library used by the Markdown paclet. -
third-party/commonmark-spec/
: git submodule of the commonmark-spec repository. Used by themarkdown-ast
conformance tests.
License
Licensed under either of
-
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
-
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contributing
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Developer Notes
See Development.md for instructions on how to perform common development tasks when contributing to this repository.