This is a markdown-it plugin to run TiDB Wasm Instance on markdown so that you can have an interactive playground to learn SQL in the browser.
Enjoy TiDB on Markdown.
git clone https://github.com/imiskolee/tidb-wasm-markdown.git
cd tidb-wasm-markdown
python -m SimpleHTTPServer 8000
open http://localhost:8000/example.html
- Use the
::: tisql
keyword before your SQL statements - Click Parser to parse the Markdown to HTML. The TiDB Wasm instance will be automatically launched and output the results in the editor.
- Support more controls instruction