On Wednesday, March 4, 2020 at 12:08:15 AM UTC-5, gar wrote: > > Good news! > Thomas, can the then later use vr3 for say doxygen or javadocs docstings > preview? >
Currently it can do anything that viewrendered can do, plus the enhancements for RsT and MD. In the future, I hope to have it render for any of the languages that @language knows about. Execution of code blocks in these languages is very questionable, and I don't know if I will try to execution working for anything but Python. For this first release, any @language besides RsT, MD, and Python will be rendered as plain text (not literal text). Now, javadocs is something else, if you want to render as anything besides plain text. If a renderer in Python already exists, I'd say that the chances are good. Otherwise, I'm not sure that I want to get into writing one myself. But I might if it wouldn't be too time-consuming. Maybe pandocs will render javadocs. If it will, then it should be feasible. The main thing would then be to know how to identify the docstring so it could be sent to pandocs. After VR3 is in good working order, then I could look into that. The good news is that I process MD nodes with a (very) rudimentary state machine, so I would think that states could be written for javascript blocks. > Leo is very good as a code documenter. > It surely is, as long as you are using Leo itself. One reason VR3 can display just the code blocks is so that you could export to a browser, then copy the browser window and paste it into a file. That lets you quickly work something up in a Leo node or tree, include non-code discussion as RsT or MD, and still get the code out. A bit clumsy, and I may improve the process later, but I've done it more than once. > 40googlegroups.com >> <https://groups.google.com/d/msgid/leo-editor/3e4a8205-5cc7-471c-a3ff-056391e81edd%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/ca0b91d6-b8d3-4efa-991c-f34841b1f2c8%40googlegroups.com.