Skip to content
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

sidenote becomes footnote #180

Closed
linlennypinawa opened this issue Dec 7, 2022 · 0 comments
Closed

sidenote becomes footnote #180

linlennypinawa opened this issue Dec 7, 2022 · 0 comments

Comments

@linlennypinawa
Copy link

linlennypinawa commented Dec 7, 2022

I copied and pasted the content to an external css file. My simplest rmd is as follows:

---
title: "Untitled"
author: "John Doe"
date: "2022-12-07"
output: 
  html_document:
    css: css\tufte_original.css
---



## R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents.  For more details on using R Markdown see <http://rmarkdown.rstudio.com>. ^[test1]

When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this: ^[test2]

Just realize that I have to add tufte::tufte_html: default in yaml to get the footnote to the sidenote. I do not need the following section of yaml.

html_document:
    css: css\tufte_original.css

It was my intention to implement the tufte style to my blog through blogdown with hugo theme. I have no problem with margin note, but when getting side note, I get it, but the number is 0.

@linlennypinawa linlennypinawa closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant