News for hackers. Stuff that matters.
Re:Show HN: Codebraid – Execute Code Blocks in Markdown (Pyt... by stfwn on Wednesday February 27, 2019 @06:18PM (#19267797)
This is great! Ever since I briefly worked with .rmd files in combination with RStudio I had it in the back of my mind that it would be nice to have something like it (but lightweight) for Markdown with Python and pipe the output through Pandoc. Jupyter Notebooks are nice, but it gets hacky to use your own editor and the file format is bad for git diffs. I'm definitely going to give Codebraid a solid try.
Re:Show HN: Codebraid – Execute Code Blocks in Markdown (Pyt... by closed on Thursday February 28, 2019 @07:37AM (#19270903)
There's also jupytext, which provides round trip conversion between Rmarkdown and jupyter notebooks, so you can edit the markdown in jupyter, or in an editor and have it automatically converted to ipynb!
Re:Show HN: Codebraid – Execute Code Blocks in Markdown (Pyt... by cuchoi on Wednesday February 27, 2019 @10:52PM (#19268852)
RMarkdown supports Python. I haven't used it, so I can't vouch for it but I have heard good things about it.
Re:Show HN: Codebraid – Execute Code Blocks in Markdown (Pyt... by truculent on Thursday February 28, 2019 @04:42AM (#19270174)
Rmd + Python is preferable to Jupyter for me. It's still not quite at the level of R support (for obvious reasons) but I think it's good.