gpoore / codebraid

Live code in Pandoc Markdown
BSD 3-Clause "New" or "Revised" License
367 stars 13 forks source link

Possible integration into Spyder #17

Open amichuda opened 4 years ago

amichuda commented 4 years ago

Looks like codebraid might getting plugin for Spyder IDE! Great work on the package!

https://github.com/spyder-ide/spyder-reports/issues/79

gpoore commented 4 years ago

Thanks for letting me know about this. An editor with live preview would be great!

If codebraid needs new features to get this to work, I'm happy to look into that as I have time. If you are going to have scroll sync between source and output, and need special HTML tags in the output that reference source line numbers, I should be able to get that working relatively easily. I already have everything in place to associate source line numbers with output line numbers. I just haven't done anything yet with that information.

I noticed in the linked issue that you mentioned figures, tables, and markdown syntax as areas where codebraid has some drawbacks compared to pweave. Figures and tables are close to the top of my list of features to add as soon as I have time. Long term, I'm interested in adding optional support for syntax more like R Markdown, but the current syntax is 100% Pandoc Markdown, so it simplifies many things. If there are other features that you or other pweave users need, please open an issue.

amichuda commented 4 years ago

Super! I totally understand about the figures and tables, it wasn't meant as a complaint or criticism. I remember we even discussed it last year in a separate issue (I used to be called... lordflaron). If those plans include integrating pandoc-tblnos and pandoc-fignos that would be amazing, but you know codebraid best!

the current syntax is 100% Pandoc Markdown

I consider that a strength of codebraid so no complaints about syntax from me!