josephbergevin / codebook-md

Bring your markdown to life with this VS Code extension. Execute code blocks at the click of a button in a notebook style similar to Jupyter. GitHub permalinks will show a preview and can be clicked to navigate to the file/line locally.
MIT License
0 stars 0 forks source link

languages: add mysql as a supported language #16

Open josephbergevin opened 2 weeks ago

josephbergevin commented 2 weeks ago

MySQL can already be executed from a Notebook cell with an extension that supports it. But, we'll be adding the ability for the user to execute sql and have the result print out in the output cell.

josephbergevin commented 2 weeks ago

Out of the gate, we can just support the following config:

"codebook-md.sql": {
  "execCmdFull": "mycli --host=$VT_H -P $VT_PT -u $VT_U -p $VT_P -e"
},