0.0.1 • Published 4 years ago
@mdn/markdown-converter v0.0.1
markdown
MDN Web Docs tool to covert HTML to Markdown and vice versa
Prerequisites
Setup
Install dependencies with
yarnWrite a
.envfile in the repository directory which indicates where are the files of your localmdn/contentand/ormdn/translated-contentcopies. You will need the variablesCONTENT_ROOTandCONTENT_TRANSLATED_ROOT. As an example, the content of this file could look like:CONTENT_TRANSLATED_ROOT=../translated-content/files CONTENT_ROOT=../content/files
How to use
yarn md h2m web/http --locale en-us --mode dryyarn md h2m web/http --locale en-us --mode replace0.0.1
4 years ago