Skip to content

#asking-for-help : How to use mdn markdown question #324

Answered by yin1999
mineclover asked this question in Content
Discussion options

You must be logged in to vote

Hi @mineclover. If you only want to see the rendered HTML content in browser. I think it could be more easier:

  • clone mdn/content and mdn/translated-content (optionally, only when you are interested in the translated documents)
  • go to the local mdn/content folder, run command yarn install
  • optionally create a .env file in mdn/content repo, and set an variable (as the step 3)
  • run yarn start in content folder, and open the URL http://localhost:5042/ in browser.

And if you want to build markdown document into html files. Just use the command yarn build args... (run yarn build --help to see args that needs to be set)

Only if you are interested in developing the platform (mdn/yari), you could use

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@yin1999
Comment options

@mineclover
Comment options

@yin1999
Comment options

@hochan222
Comment options

@mineclover
Comment options

Answer selected by mineclover
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants