-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Implementation of Aside Tags in html_document2 #1069
Comments
Currently this feature is available in distill, and also in tufte You have Using the same with Did you try already to use something like this ---
title: test
output:
bookdown::html_document2:
base_format: distill::distill_article
---
# A header
Some content in the test
<aside>
This content will appear in the gutter of the article.
</aside>
This should get you the format of distill but having access to some of the bookdown features. Would it work for you need ? |
@cderv , This is great man, cool to know we can do that. The downside is that the features Any way to circumvent that? |
Unfortunately, not all features of all formats are duplicated in each format. That is what make each format interesting. Currently distill does not support tufte supports numbered sections ( Each format is a template HTML with JS and CSS dependencies to implement some features (like floating toc, aside divs, ...), so if nothing suits you it would require adding custom template with CSS and JS to have a specific format.
I'll leave this open as a feature request for now. |
Cool, got it, thank you very much for the info and feedback, @cderv |
Related to #1054 |
Hi folks,
I know it is implemented in
tufte_handout2
but is it possible to also implement aside tags inhtml_document2
,pdf_document2
andword_document2
?If not, is there a current hacky way to do that?
It is a really useful feature and I think it would be amazing to have this available in as many formats as possible.
Thanks a lot
The text was updated successfully, but these errors were encountered: