-
-
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
Enable usage of "self-contained" without "standalone" for HTML #7331
Comments
Yeah, this makes a lot of sense to me. |
Actually, the alternative that I have mentioned in the last paragraph would not have any impact on existing workflows:
Both, new use workflows would be covered as well as compatibility with existing ones assured by using this approach. |
So, if understand correctly, you're suggesting that That may be the best way forward (and actually |
IF we did this I'd be inclined to deprecate |
maybe you can keep |
@jgm: Yes, that is what I was suggesting. I am however not entirely sure regarding the depreciation of existing option ( |
That's the idea. The reason for deprecating is just that it's confusing to have two options that are so similar. |
Note: in the mean time, here's a workaround: just use a custom template containing simply
|
@jgm: Thank you for suggested workaround, I have already put it into good use. Less important, but possibly also helpful, to avoid the |
Using the option
self-contained
currently implies the optionstandalone
when producing HTML output. This is not desired in all use cases, especially not when usingPandoc
as an external renderer in certain context (Content Management System, Templating etc.).It would be useful to have an option to produce data URIs (i.e. not requiring external images) for a part of included document, rendering only HTML body in that case without other HTML declarations (that are a part of the master document).
Introducing an additional
Pandoc
option would perhaps be the cleanest way of addressing the mentioned use case, since it would not break existing usage, e.g. something likeembed-resources
(orembedded-references
orembed-media
The text was updated successfully, but these errors were encountered: