autoclose_loader = true packages = [ "rst-to-myst==0.3.2", "ruamel-yaml==0.16.13", ] paths = ["./conversion.py"]

MySTyc

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!