From: Silvio Rhatto Date: Thu, 20 Nov 2025 14:10:29 +0000 (-0300) Subject: Feat: add anchors in the notebook HTML preamble X-Git-Tag: 0.4.1 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=008afb53ba9dbae26dfb56b6ecdf9a59f585533f;p=bookup.git Feat: add anchors in the notebook HTML preamble --- 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('') cat("\n") - cat("

About

") + cat("\n") + + cat("## About {#about .unlisted .unnumbered}") cat("\n") cat('') cat(readLines('DISCLAIMER'), sep='\n') @@ -22,7 +24,9 @@ if (knitr::is_html_output()) { cat('.') cat('

') cat("\n") - cat("

Credits

") + cat("\n") + + cat("## Credits {#credits .unlisted .unnumbered}") cat("\n") cat(paste(rmarkdown::metadata$title, "
", "Copyleft ©", readLines('.metadata/year.txt'), rmarkdown::metadata$author, readLines('snippets/contact.txt'), sep=' ')) cat('

') 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('') cat("\n") - cat("

Sobre

") + cat("\n") + + cat("## Sobre {#about .unlisted .unnumbered}") cat("\n") cat('') cat(readLines('DISCLAIMER'), sep='\n') @@ -22,7 +24,9 @@ if (knitr::is_html_output()) { cat('.') cat('

') cat("\n") - cat("

Créditos

") + cat("\n") + + cat("## Créditos {#credits .unlisted .unnumbered}") cat("\n") cat(paste(rmarkdown::metadata$title, "
", "Copyleft ©", readLines('.metadata/year.txt'), rmarkdown::metadata$author, readLines('snippets/contact.txt'), sep=' ')) cat('

')