-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Let the Fenced Div class transfer to a custom style in DOCX/ODT etc. #4139
Comments
Agreed, from this comment:
In response to this, in that issue it was suggested to use an extension (e.g. P.S. Not sure whether this discussion should actually take place in #2106, should I change the title of that issue and close this one? |
I didn't really understand the need for the If this is my own ignorance then close this and lets continue on #2106. |
Duplicate of #2106 |
+++ Ian [Dec 11 17 02:13 ]:
I didn't really understand the need for the +environment when I first
looked at [1]#2106 and assumed it was trying for something different to
simple translation of style->style. But that was probably me reading
through that thread too quickly. I'm sure there is a good reason why we
can't just use a straight conversion of style names (::: Poetry :::
becomes a Poetry style in word) without needing an extension, i just
haven't grokked it yet...
Perhaps this question should be raised again, but let's raise it
on #2106 so everything is in one place. I believe the
reasons for custom-style names are presented there.
|
Hi, the new Fenced Div feature in Pandoc 2 is excellent, and I was wondering whether there was a feeling that the class name should be converted to a style by default for writers that support it (DOCX, ODT etc). For DOCX, @jkr made a super wonderful addition (#3070) to do this using the custom-style attribute, which I assume we could wire together using a filter, but my question is really whether this being done natively would be beneficial. My view is it would be great to be able to use Fenced Divs to specify styles in DOCX etc.
I'm creating a new issue as there are several overlapping issues which don't specifically deal with the current design intention for what a writer should do with the new fenced div.
Related issues:
#2542 (closed)
#2106
#3070 (merged pull request)
The text was updated successfully, but these errors were encountered: