This is a Visual Studio Code extension with a set of tools that will help authors for the Real Python blog.
open an issue on the repo here.
Setup
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 .
Snippet Usage
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 .
Changelog
The full changelog can be found here.
Documentation
General Snippets
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 |
Quizzes Snippets
Prefix |
Output |
rqtext |
adds a text input question block |
rqselect |
adds a multi-choice single answer question block |
rqmulti |
adds a multi-choice multi-answer question block |
rqcode |
adds a python based answer question block |
Release Notes
2018.12.0
- Added in the Quiz Snippets
Future Development
- [x] Create Quiz Snippets
- [ ] Add command to create new post template
- [ ] Possibly Spelling/Grammar support
- [ ] Add command to upload changes to CMS
- [ ] Add command to create new article (Git & CMS)
| |