New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notebook figure rendering and pandoc-fignos #7
Comments
It looks like pandoc-fignos needs images with (1) alt text and (2) an id starting with "fig:". I'm planning to add support for setting image attributes for rich output like plots that is included automatically. As soon as that is added, pandoc-fignos should function normally by running One of the main things I have to determine is the syntax to use for setting image attributes. I will probably add code block options like The syntax for figures will also need to support subfigures. At the moment, pandoc-fignos doesn't support subfigures (tomduck/pandoc-fignos#50), but I'm sure that it or another filter will support them in the future. In that case, I'm thinking about something like |
Thanks so much for the reply. I think you're on the right track with that. It actually reminds me a little of the pweave approach to setting figure captions. Is that what you're going for?
What would that look like? Would
I'm not an expert in pandoc attribute syntax, and googling it has proven to be a kind of difficult. Is there a reference for documentation on how that's set up? I'm sure you know better than me, but what if all caption titles were put in some long comma-separated string that you would parse through? I don't think that's a very elegant solution, but that's the only one coming to mind to me. |
Hi! I wanted to see if you've had any new ideas or thoughts on this issue. Again, thank you for the package, it's really helping me out with my thesis and writing up slides for a class I'm teaching! |
I haven't had any new thoughts. I think I'm going to try In terms of a reference for Pandoc attribute syntax, https://pandoc.org/MANUAL.html and then searching for "attribute" is a good place to start. I've also looked at the Pandoc implementation several times to figure out exactly how attributes are defined. |
I know this is a stale issue, but any plans to add this feature to codebraid in the near future? |
Unfortunately I can't give any specific estimates on new features. I am currently trying to release new versions of all my major open-source projects to catch up for the last year or so. As soon as that is done, I'm hoping to be able to focus on resolving all existing Codebraid issues. |
With the addition of Jupyter kernels and showing plots directly from executed code, would there be some way to integrate
codebraid
with pandoc-fignos so that there could be figure captions in the resulting text?The text was updated successfully, but these errors were encountered: