Skip to content

waldyrious/rst-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rst-playground

A fully browser-based reStructuredText playground that anyone can use without setting up a server. Try it out at https://waldyrious.github.io/rst-playground.

Motivation

This project was triggered by the two previous playgrounds (http://rst.ninjs.org and https://livesphinx.herokuapp.com) having stopped working as of December 2022, and because I am more used to markdown and too lazy to learn rST properly, so I find myself often needing such a playground where I can try out the syntax and see how it renders. (Also because I've been curious about Pyodide for a while, so it was an opportunity to give it a try.)

More detailed background:

Status

A basic prototype is up and running. The webpage is live at https://waldyrious.github.io/rst-playground. It uses Pyodide to call docutils to convert rST content entered into the <textarea> on the left, and shows the resulting HTML in the <iframe> on the right.

Check the open issues for planned improvements. Pull requests are welcome!