autoclose_loader: true runtimes: - src: "" name: pyodide-0.21 lang: python - mdformat-myst==0.1.4 - ruamel-yaml==0.16.13 - mdformat-deflist==0.1.1 - rst-to-myst==0.3.2 - attrs==21.4.0 - paths: -


Online conversion from reStructuredText to MyST

from js import document from conversion import convert input_textarea = document.querySelector("form textarea#input_rest") output_textarea = document.querySelector("form textarea#output_myst") def do_convert(event): result = convert(event.srcElement.value) output_textarea.value = result['output_myst'] input_textarea.oninput = do_convert

MyST is a rich and extensible flavor of Markdown meant for technical documentation and publishing. It combines the familiarity of Markdown with the power and extensibility of reStructuredText, and you can use it in your Sphinx documentation. Learn more!