Overview of the mystmd CLI
mainmystmd package provides the MyST Markdown Command Line Interface. It is the primary tool for working with MyST Markdown content, enabling users to build, preview, and manage MyST-based documentation sites.repository·main·Indexed 11 days ago
https://github.com/jupyter-book/mystmdA command-line interface and authoring framework for scientific communication. It enables writing in MyST Markdown and rendering content into HTML, React, PDF (via LaTeX), and Microsoft Word. The ecosystem includes myst-parser for converting markdown to mdast, MyST Execute for Jupyter kernel execution, and various extensions for directives like tabs, cards, and proofs.
mystmd package provides the MyST Markdown Command Line Interface. It is the primary tool for working with MyST Markdown content, enabling users to build, preview, and manage MyST-based documentation sites.myst-to-tex is a serialization library designed to convert MyST Markdown documents (specifically myst-spec AST documents) into $\LaTeX$ markup.
Key Characteristics:
unifiedjs plugin and is part of the mystmd ecosystem.myst-to-jats library translates standard MyST syntax into sensible JATS XML (and $\LaTeX$ compatible) syntax. It is built to be extensible via plugins and focuses specifically on the conversion from myst-spec AST documents to JATS.The mystmd repository contains several specialized packages. All packages are ESM modules written in TypeScript.
mystmd: Provides the CLI functionality for myst start.mystmd-py: A Python wrapper for easy installation in Python environments (not intended for development).myst-cli: Provides the underlying CLI functionality for mystmd.jtex: A templating library.myst-frontmatter: Validation for scientific authorship/affiliation frontmatter.myst-config: Validation and reading of configuration files.myst-templates: Types and validation for LaTeX, web, and word templates.MyST uses markdown-it for standard syntax and markdown-it-myst for MyST-specific syntax (roles/directives). The engine converts tokens into a MyST AST using mdast.
markdown-it-myst: Plugin for tokenizing roles and directives.myst-directives: Core directives.myst-roles: Core roles.myst-parser: Converts token streams to MyST AST.tex-to-myst (LaTeX to AST) and jats-to-myst (JATS XML to AST).myst-transforms (transforms AST elements like links, citations, and admonitions).myst-to-docx: MyST to MS Word.myst-to-jats: MyST to JATS.myst-to-tex: MyST to LaTeX (using jtex).myst-to-html: MyST to HTML.myst-ext-card, myst-ext-grid, myst-ext-tabs, myst-ext-reactive.jtex is a command line tool (CLI) designed to render LaTeX documents from Jinja-style templates. It utilizes the Jinja2 template engine, but uses a modified environment and syntax specifically optimized to work with LaTeX markup.MyST (Markedly Structured Text) is an ecosystem of open-source tools designed for scientific communication. It allows authors to create publication-quality documents, including blogs, online books, scientific papers, reports, and journal articles, using an extended version of Markdown.
Key capabilities include:
ipywidgets.jupyterlab-myst.The mystmd CLI is a toolset for scientific communication designed to handle blogs, books, papers, and reports. Key features include:
MyST (Markedly Structured Text) is a superset of CommonMark designed for creating publication-quality, computational documents. It is the foundation for JupyterBook, enabling the creation of educational textbooks and tutorials using Jupyter Notebooks and narrative content.
The specification formalizes three core components:
directives (block-level extensions like callout panels, tabs, or figures) and roles (inline extensions like citations or inline math).The myst-parser package is a Javascript implementation of the MyST (Markedly Structured Text) parser. It is designed to provide a flexible parser and renderer for MyST-flavored markdown, which is inspired by the Sphinx ecosystem and reStructuredText (RST). It is primarily used for rendering books, papers, and reports and is associated with JupyterBook.
Key Capabilities:
mdast) compliant with the MyST specification.myst-cli is a command line tool designed for processing MyST markdown files. It serves as the primary interface for working with the MyST Markdown ecosystem via the terminal.myst-directives package provides the default directive definitions used by the MyST parser. These directives allow users to extend standard Markdown with specialized functional blocks like admonitions, math, and media elements. These definitions are ported from markdown-it-docutils.myst-ext-proof is an extension for the mystmd engine that enables the use of the proof directive. This directive is used to format mathematical or logical proofs within MyST Markdown documents.