question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

howto produce a myst/markdown format

See original GitHub issue

Hi, I’d like to give the myst markdown variant a try

https://jupytext.readthedocs.io/en/latest/formats.html?highlight=myst#myst-markdown

but have not been able to find the right syntax, here’s what I tried

$ jupytext --set-formats markdown:myst  my-notebook.md
[jupytext] Reading w9-s2-c1-decorateurs.md
[jupytext] Updating notebook metadata with '{"jupytext": {"formats": "markdown:myst"}}'
<stack-trace>
jupytext.formats.JupytextFormatError: myst is not a valid format name. Please choose one of light, pandoc, spin, hydrogen, markdown, nomarker, sphinx, rmarkdown, percent

as a side question, I have just obtained this my-notebook.md by running

$ jupytext --to markdown my-notebook.ipynb

and am a little confused as to which specific markdown variant is being used; the .md file reads like this

---
jupyter:
  jupytext:
    formats: md
    text_representation:
      extension: .md
      format_name: markdown

thanks again for the awesome tool !

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
parmentelatcommented, Jul 6, 2020

ah <mental slap on the forehead> ! stupid me then 😃

0reactions
mwoutscommented, Aug 20, 2020

Closing as #584 was merged - the error message will be much more informative now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MyST Markdown overview - Jupyter Book
For those who are familiar with Sphinx, MyST Markdown is basically CommonMark ... Book uses Sphinx to build your book, and MyST Markdown...
Read more >
MyST Markdown Notebooks
MyST Markdown Notebooks allow you to write your Jupyter Notebook entirely in markdown using the MyST Markdown format. This allows you to store...
Read more >
Get started with MyST in Sphinx
A Python library that can parse MyST markdown, and render it to a number of output formats (in particular, docutils format for use...
Read more >
The MyST Syntax Guide - MyST-Parser - Read the Docs
As a base, MyST adheres to the CommonMark specification. For this, it uses the markdown-it-py parser, which is a well-structured markdown parser for...
Read more >
The MyST Syntax Guide - MyST-Parser
MyST builds on the tokens defined by markdown-it, to extend the syntax described in the CommonMark Spec, which the parser ... Will generate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found