This is a Visual Studio Code extension with a set of tools that will help authors for realpython.com
Open an issue on the repo here.
Just hit install!
If installing this extension directly from the repo, copy it into your local <user home>/.vscode/extensions
folder and restart VS Code.
Works best with editor.tabCompletion
enabled (on
) in your VS Code Settings
.
To access the list of snippets, use the ctrl+Space
ande then simply type rp
to start using any of the snippets. The full list of snippets is below.
This extension works best with editor.tabCompletion
enabled (on
) in your VS Code Settings
.
The full changelog can be found here.
Prefix | Output |
---|---|
rpcode |
adds a simple code block |
rpcodeline |
adds a code block with line nums |
rpcodehl |
adds a code block with highlighted lines |
rpcodeall |
adds a code block with both line nums and highlighted lines |
rpimg |
adds a simple img block |
rpimgatr |
adds a img block with commonly used attributes |
rpimgeall |
adds an img block with all attributes |
rpdir |
adds an example file directory block |
rpalert |
adds an alert box |
rpwarn |
adds a warning box |
rpnote |
adds a note box |
rpcollapse |
adds a collapse box |
rpexercise |
adds an exercise block |
rpquote |
adds a quote block |
- Initial release