- Syntax highlighting for markdown/Python/HTML/Nim in strings marked with
hlMd
/hlPy
/hlHtml
/hlNim
. For markdown usehlMd
orhlMdF
(F
-variant is alias for string interpolation:&(hlMd""""Text here""")
). Example:
nbText: hlMd"""
# The markdown
- goes
- here
"""
-
Syntax highlight python code in
nbPython
blocks usinghlPy
orhlPyF
similairly ashlMd
. -
Syntax highlight HTML code using
hlHtml
orhlHtmlF
similairly ashlMd
. -
Syntax highlight Nim code using
hlNim
orhlNimF
similairly ashlMd
. -
Preview current Nimib-file using the task
Nimib Preview
, clicking onNimiBoost 🚀
in the statusbar or the shortcutCtrl+K V
(Ctrl+K
, release,V
).codeAsInSource
setting is available to use-d:nimibPreviewCodeAsInSource
in the preview.
Requires an installation of Nim and Nimib. There is a separate Nim extension for general Nim programming.
- VSCode Marketplace: https://marketplace.visualstudio.com/items?itemName=hugogranstrom.nimiboost
- Open-VSX: https://open-vsx.org/extension/hugogranstrom/nimiboost
You may have to restart VSCode for all features to activate.
- Only triple-quote strings supported.
- It's picky about where the ending
"""
is. It has to be on it's own row. So this is not allowed:
nbText: hlMd"""
# Header
text, more text and even more text"""
# """ <-- This is the correct position!
hlHtml
andhlHtmlF
for highlighting HTML in strings.
- Nim highlighted strings now supported using
hlNim
andhlNimF
.
- Python highlighted strings are now supported using the
hlPy
andhlPyF
markers:
nbPython: hlPy"""
import numpy as np
print(np.linspace(0, 10, 11))
"""
- Nimib is switching over from using
md
andfmd
to the more generalhlMd
andhlMdF
. The old variants will still work but may be removed in the future.
- No more annoying popups saying that the compilation has started and succeded! Now all of that happens in the statusbar at the bottom.
- new configuration option
cmdArgs
to pass in command line arguments to the compiler. -d:release
is no longer the default, use above-mentioned configuration if you want to compile in release mode.
Limit the preview keybindings to Nim files (it tried to run it on markdown files otherwise).
Preview mode is upgraded to understand nimib.toml
files and will no longer create temporary folders. Files will go where nimib would have put them. The old command is still available but under the name Nimib Preview (Legacy)
which you can add your own keybinding for if you want to keep it. This means themes like nimiBook will have correct styling and loading of files works as expected in nimib.
- Support nimib 0.2
- Added setting to enable
codeAsInSource
.
Fix syntax highlighting for indented nbText
blocks.
Improved the error experience. Now the stderr
is shown in the Output
window.
Initial release of NimiBoost
Empty for now.