- Notifications
You must be signed in to change notification settings - Fork9
Atom syntax highlighting for Weave.jl and Pweave documents. Currently supports markdown input formats.
License
JunoLab/language-weave
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Atom syntax highlighting forWeave.jl andPweave documents.
Provides the following modes:
Weave.jl: markdown
for .jmd, .mdw and .jmdw (markdown with noweb)Weave.jl: LaTex
for texw, .jtexw and .jnw.Weave.jl: reStructuredText
for .jrstwPweave: markdown
for .pmd and .pmdw (markdown with noweb)Pweave: LaTex
for .ptexw and .pnwPweave: reStructuredText
for .prstw and .rstw
If you need support for other formats open as issue or make a pull request.
Hydrogen supports running code from Pweave and Weave code chunks usingitsrich multi language document-feature.
For Python you simply need to install Hydrogen and you can use hydrogen keybindings to run code e.gctrl-enter
to run a line andctrl-alt-enter
to run entire chunk.
For Julia you need to add the following to.atom/keymap.cson
if you want to use Hydrogen instead of Juno:
'.platform-linux .item-views > atom-text-editor[data-grammar="source weave md"],.platform-linux .item-views > atom-text-editor[data-grammar="source weave latex"],.platform-win32 .item-views > atom-text-editor[data-grammar="source weave md"],.platform-win32 .item-views > atom-text-editor[data-grammar="source weave latex"]':'ctrl-enter':'hydrogen:run''shift-enter':'hydrogen:run-and-move-down''.platform-darwin .item-views > atom-text-editor[data-grammar="source weave md"],.platform-darwin .item-views > atom-text-editor[data-grammar="source weave latex"]':'cmd-enter':'hydrogen:run''shift-enter':'hydrogen:run-and-move-down'
If you have installedJuno, running code from Weave.jl documents works usingctrl-enter
andshift-enter
keybindings.
About
Atom syntax highlighting for Weave.jl and Pweave documents. Currently supports markdown input formats.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors9
Uh oh!
There was an error while loading.Please reload this page.