- render better
- render to markdown
- mail subscription
- link styling
- Better HTML HEAD metadata
- Social interactions
- better code highlighting
- steal tricks from gwern
- Go to page bundle structure
- Mathjax update
- Link to tag indexes
- Sort by certainty etc
- Look nice
How did you get in here? How did you get inside the sausage factory? Watch your fingers.
Things I am doing to spruce this place up as part of yak shaving my academic writing workflow.
- https://github.com/rstudio/blogdown/blob/8b488d92e6134a1ca673b5a8ea9327db09f8f9ab/NEWS.md#changes-in-blogdown-version-10 recommends
blogdown::build_site(build_rmd = "timestamp")
options(blogdown.files_filter = blogdown::timestamp_filter) blogdown::build_site(build_rmd = TRUE)
should I smooth this by switching to cutting-edge blogdown?
render to markdown
Instead of to HTML. Many benefit in terms of having better hugo hooks. michael toth’s solution.
update: hugodown supports this.
figures lose caption
![$1](../images/$2)updates horribly broken paths
rename files, purge
hugodownify.pyare points to intervene.
- 2.5 Templates | blogdown: Creating Websites with R Markdown
- Changing your Blogdown Workflow - Dr. Mowinckel
- v0.21 wishlist · Issue #476 · rstudio/blogdown
- tidyverse/tidyverse.org at ee03715f1038d0c594bf0d4f3ac000f22b5fecc4
- Citations... · Issue #358 · rstudio/blogdown
- Savvy Statistics: Scientific and Technical Blogging: Radix vs. Blogdown
Better HTML HEAD metadata
HEAD documents the recommended tags for maximising social spread and suchlike from a website.
A.k.a. ActivityStreams 2.0. I think this standard is real and is sometimes claimed to subsume comments and webmentions 🤷♂ It looks like there is variable effort involved in enabling the suite of features and widges here. Verifying my id in ActivityPub is chill. All the mutual sharing of data involves cryptographical signing etc. Out of scope for now.
better code highlighting
For new themes, via https://bookdown.org/yihui/blogdown/templates.html#how-to
Alternatively for my theme it is just in the config. https://github.com/rstudio/blogdown/issues/360#issuecomment-457395421
these are both via
highlight.js; I could use the server-side pandoc-based solutions such as pygments or chroma.
Explanations of those by Maëlle Salmon : https://ropensci.org/technotes/2020/04/30/code-highlighting/
These look harder to integrate into Rmarkdown posts, but ok for native hugo https://gohugo.io/content-management/syntax-highlighting/
Also code folding.
steal tricks from gwern
especially regarding linkrot
render citations as data?
Or at least link to the
See how radix does this?
Why are citations showing up as a sub div of the last div? Can I change that?
make an explicit header?
Get a search I can link to?
Fix safari search styling
Go to page bundle structure
A lot of work; minimal gain for blogdown AFAICS
Via page bundles?
- Laura Kalbag – Processing Responsive Images with Hugo
- How To Use Hugo’s Image Processing With Forestry | Forestry.io
- Clayson Design
- Image Processing in Hugo | Mert Bakır
I would need to restructure my content for that
Images in head metadata
I wonder if there is a pandoc pipe that could make that easier, or if I should do it with a python markdown parser e.g. with a TreeProcessor, or the syntax tree-friendly Mistletoe. Easiest: parse HTML, if needed parse md to HTML.
I would also like to display most popular pages; that would be fun. But I will wait for netlify to release their API rather than getting prematurely excited about that.
If I want to work around in the mean time, Jim Nielson shows how.
NEtlify API spec https://open-api.netlify.com/ Python client https://pypi.org/project/openapi-core/ community https://community.netlify.com/t/support-guide-understanding-and-using-netlifys-api/160
Sort by certainty etc
I made my own theme; it has various wonderful features such as being simple and easy to understand. However, it has the problem that I am no graphical designer.
TBD: choose a monospace font so I can control the size better. I’m currently using Jetbrains mono, which is fine, but not perfect. I would like a serifed code font that was for the cheezy old-timey typewriter feel, but also with low ambiguity of custom characters, and that supported a good range of characters. These desiderata do not seem to be available in free monospace fonts.
Other nice header fonts?
Credit font designers. Also, paper texture? https://www.wildtextures.com/free-textures/seamless-paper-texture/