Closed dsanalytics closed 6 years ago
You typically get this error if you try to execute a line of markdown from .pmd
. Try moving your cursor to a code block. Also remove the setting from kernel gateways, it is not needed.
Pweave is supposed to render the entire file and not just execute one code block. Code block does execute, but how do I execute all code cells at once along with all markdown being properly rendered so that the entire file produces formatted rich text report?
Even if I execute each code cell manually, markdown still doesn't render - so how does one initiate that part?
If you don't mind my asking, how did you generate md and 2 html files from pmd files provided on your example page? See the screenshot.
Hydrogen doesn’t run pweave, but it can be used to execute code during development. You need to run pweave from command line to get html etc. The commands are in the examples page (below the table)
Run this from command line:
pweave -f md2html FIR_designp.pmd
Rest of the commands are also included in the example gallery,
My apologies to @mpastell - I removed the post made in ignorance.
@dsanalytics Sounds like @mpastell answered the question here so I will close. Feel free to reply if you still have questions!
Not sure whether this is pweave or hydrogen issue - I'm getting "No kernel for grammar pweave markdown found" error from Hydrogen in Atom when I open and try to run a valid pmd. Hydrogen and python (py files) are running just fine. I can also see md files rendered properly in Markdown Preview in Atom. I have inserted [{"pweave markdown": "Python 3"}] under Kernel Gateways in Settings to no avail (I also tried uppercase - Pweave) - it didn't work with that setting blank either.
File tried (FIR_designp.pmd) - first one listed in examples: http://mpastell.com/pweave/examples/index.html
Any ideas?
Windows 10 Home Premium 64bit Atom 64bit v 1.21.1 Hydrogen 2.0.1