for code blocks
With syntax highlighting:
var = a
print a
this is a blockquote
with line 2
quote break
and another quote.
Three or more
use 2 spaces for lines
next line
2 returns for paragraph.
2nd paragraph
In terminal window, run
py -3 --version
To edit a file from ubuntu in VS Code, in the ubuntu folder type
code .
Or go in to vs code and navigate to it.
need markdown-it, so needed to install more packaged to get it. installed nodejs on ubuntu installed npm on ubuntu installed markdown-it on ubuntu that automatically got python 2.7 onto my machine ubuntu environment.
sudo apt install nodejs
sudo apt install npm
npm install -g markdown-it
User settings in settings.json file, or UI. Workspace settings in the .vscode folder
using "Paste Image" extension from Mushan
I've set this up so images go into \jbnotes_images subfolder, with no prefix, and the datetime as the file name
Simple example:
markdown-it git.md -o git.html
"command": "markdown-it sample.md -o sample.html"
Puts tasks.json in vsCode subdir.
Add to each file:
<LINK href="air_style_sheet.css" rel="stylesheet" type="text/css">
Source style sheets from e.g. https://markdowncss.github.io/