-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Figures #31
Comments
Do you mean supporting a feature where you can write something like, "see figure 4", and that will render as a link to an image (as in |
No, this is about creating the figure itself: an environment that may contain one or more images, or perhaps other things, plus a caption and a label that can be the target of references. |
Would the current way to get something similar to this be to add the figure as an image, like this:
and then link to it with " |
In pandoc's markdown that will produce a figure ( |
What about
And if you need a grid you simply use table structure (pipe or list). |
Ok, I understand. Thanks. I wonder if there's a way to re-use the div syntax for this, like
Similar to the list tables idea #27 . |
Actually, if I were "delimiter-shopping" for a punctuation character to use for figures, it would be hard to beat
|
The point of using the exclamation point is that it is already used to differentiate inline images from links. |
Yeah, I see that, though I don't think the |
If
I don't know how you could enhance that to support figures containing subfigures, as in "figure 4(a), 4(b), etc." Maybe using a definition list inside the figure block, e.g.:
|
Whatever solution is considered for figures and subfigures, captions should probably be generalized with a consistent syntax across blocks where they are appropriate:
See also #28 |
FWIW: Given how flexible Djot’s syntax already is, it may not be necessary to introduce new syntax – e.g.:
Notes:
|
We need a general way of producing a figure with a caption and label.
Pandoc's "implicit figures" are too limiting. Figures can include multiple images, and also non-image content like code.
The text was updated successfully, but these errors were encountered: