Comments (6)
There is a good discussion here lierdakil/pandoc-crossref#20
It defines a block that gives you a Subfigure env. I don't particular care about subfigures per se, but currently there is no way to wrap a figure into something or add a caption.
from mmark.
And this: jgm/pandoc#3177
Defines a block, with !---
as the delimiters
!--- {#foo .right}
![my image](img.jpg)
![second image](img2.jpg)
!---
Which we could re-use, but also allow for single images:
!---
![GitHub Logo](/images/logo.png)
!---
Figure: this is an image
Where Figure makes it captionFigure
in the AST and we basically do the same thing as for codeblocks. Other stuff can be put in there as well (crap in, crap out).
We do have to optional Title in the ![Alt text](/path/to/img.jpg "Optional title")
image as well to consider.
But I think it is worth while to implement this
from mmark.
PR sent: gomarkdown/markdown#100
from mmark.
Note that we're still involved in a discussion in how to best implement jgm/pandoc#3177. Feel free to participate :-)
Also, the !---
syntax for pandoc native divs was not implemented, but instead:
::: myClass
![GitHub Logo](/images/logo.png)
:::
from mmark.
from mmark.
This has been included in mmark
from mmark.
Related Issues (20)
- mmark output not accepted by xml2rfc HOT 2
- Wrong rendering of inlined contact references to contacts HOT 7
- Enhancement: Using CDATA rather than entity escape codes in the sourcecode element HOT 5
- Use of anchor or id for referencing HOT 1
- fix releasing HOT 3
- bibliography.go should use bib.ietf.org URLs
- Incorrect GitHub Organization URL HOT 1
- Error referencing internet draft by version HOT 6
- Error referencing RFC drafts HOT 4
- Normative and Informative references are not wrapped in References section HOT 2
- Support more `rfc` attributes HOT 5
- `consensus` attribute applies to more than the IETF stream HOT 3
- Section citations hard-code `relative="#"` HOT 3
- Prebuilt binaries are missing HOT 2
- ref to BCP HOT 2
- Do not render `<area>` element from IRTF documents HOT 3
- Omit `day` attribute in `<date>` boilerplate element for RFCs HOT 3
- Warn on non-ASCII punctuation HOT 3
- Provide release notes HOT 3
- Is it possible to specify metadata using YAML? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmark.