diff options
| -rw-r--r-- | ChangeLog.md | 4 | ||||
| -rw-r--r-- | structure/notes/en/00-preamble.md | 8 | ||||
| -rw-r--r-- | structure/notes/pt-br/00-preamble.md | 8 |
3 files changed, 16 insertions, 4 deletions
diff --git a/ChangeLog.md b/ChangeLog.md index 32ad17c..4cec690 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,9 @@ # ChangeLog +## v0.4.1 - 2025-11-20 + +* [x] Add anchors in the notebook HTML preamble. + ## v0.4.0 - 2025-11-20 * [x] Add anchors in the HTML preamble. diff --git a/structure/notes/en/00-preamble.md b/structure/notes/en/00-preamble.md index 4490a20..d683e16 100644 --- a/structure/notes/en/00-preamble.md +++ b/structure/notes/en/00-preamble.md @@ -9,7 +9,9 @@ if (knitr::is_html_output()) { cat("\n") cat('<img src="images/cover.png">') cat("\n") - cat("<h2>About</h2>") + cat("\n") + + cat("## About {#about .unlisted .unnumbered}") cat("\n") cat('<em>') cat(readLines('DISCLAIMER'), sep='\n') @@ -22,7 +24,9 @@ if (knitr::is_html_output()) { cat('</em></strong>.') cat('<br/><br/>') cat("\n") - cat("<h2>Credits</h2>") + cat("\n") + + cat("## Credits {#credits .unlisted .unnumbered}") cat("\n") cat(paste(rmarkdown::metadata$title, "<br/>", "Copyleft ©", readLines('.metadata/year.txt'), rmarkdown::metadata$author, readLines('snippets/contact.txt'), sep=' ')) cat('<br/><br/>') diff --git a/structure/notes/pt-br/00-preamble.md b/structure/notes/pt-br/00-preamble.md index 37d097e..1fc370c 100644 --- a/structure/notes/pt-br/00-preamble.md +++ b/structure/notes/pt-br/00-preamble.md @@ -9,7 +9,9 @@ if (knitr::is_html_output()) { cat("\n") cat('<img src="images/cover.png">') cat("\n") - cat("<h2>Sobre</h2>") + cat("\n") + + cat("## Sobre {#about .unlisted .unnumbered}") cat("\n") cat('<em>') cat(readLines('DISCLAIMER'), sep='\n') @@ -22,7 +24,9 @@ if (knitr::is_html_output()) { cat('</em></strong>.') cat('<br/><br/>') cat("\n") - cat("<h2>Créditos</h2>") + cat("\n") + + cat("## Créditos {#credits .unlisted .unnumbered}") cat("\n") cat(paste(rmarkdown::metadata$title, "<br/>", "Copyleft ©", readLines('.metadata/year.txt'), rmarkdown::metadata$author, readLines('snippets/contact.txt'), sep=' ')) cat('<br/><br/>') |
