]> gitweb.fluxo.info Git - bookup.git/commitdiff
Feat: add anchors in the notebook HTML preamble 0.4.1
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 20 Nov 2025 14:10:29 +0000 (11:10 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 20 Nov 2025 14:10:29 +0000 (11:10 -0300)
ChangeLog.md
structure/notes/en/00-preamble.md
structure/notes/pt-br/00-preamble.md

index 32ad17cb2631dc56b333797351589329bdd964ac..4cec6908355e40a04c0c5b174b636440c0ed8f90 100644 (file)
@@ -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.
index 4490a2092188dc8380e916ba785742eb274c2f58..d683e163124ffde3bd99861550b6b00af9363434 100644 (file)
@@ -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 &copy;", readLines('.metadata/year.txt'), rmarkdown::metadata$author, readLines('snippets/contact.txt'), sep=' '))
   cat('<br/><br/>')
index 37d097e88ab8d77816cc711fd6646458d379295b..1fc370c91e2bfd4f78f1325d5fe1706dab800d54 100644 (file)
@@ -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 &copy;", readLines('.metadata/year.txt'), rmarkdown::metadata$author, readLines('snippets/contact.txt'), sep=' '))
   cat('<br/><br/>')