This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@mdn/markdown-converter

0.0.1 • Public • Published

markdown

MDN Web Docs tool to covert HTML to Markdown and vice versa

Prerequisites

Setup

  1. Install dependencies with

    yarn
  2. Write a .env file in the repository directory which indicates where are the files of your local mdn/content and/or mdn/translated-content copies. You will need the variables CONTENT_ROOT and CONTENT_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 dry
yarn md h2m web/http --locale en-us --mode replace

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i @mdn/markdown-converter

Weekly Downloads

0

Version

0.0.1

License

MPL-2.0

Unpacked Size

86.6 kB

Total Files

32

Last publish

Collaborators