diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2025-11-20 11:10:29 -0300 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2025-11-20 11:10:29 -0300 |
| commit | 008afb53ba9dbae26dfb56b6ecdf9a59f585533f (patch) | |
| tree | 492cf70aaf8c793496e39474190ba91f6ac4c892 | |
| parent | 1009856004ed96fc0f5e42891843ca273b7fd307 (diff) | |
| download | bookup-0.4.1.tar.gz bookup-0.4.1.tar.bz2 | |
Feat: add anchors in the notebook HTML preamble0.4.1
| -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/>') |
