I'm trying to use Material for MkDocs for my collection of notes on various topics. Some of them are mini blog posts that I share with others, and some function as a lab notebook. I've looked at and used a couple different static site generators for this purpose, and I'm trying out Material for MkDocs for the first time now.
In any event, I would like to label each Markdown document with a date. I was able to add a date
field in the metadata section and get that date to display on the page using a modified version of the approach given in this blog post.
Is it possible to somehow use that date field to filter search results? Issue squidfunk/mkdocs-material#3174 hints at it, but it looks like there wasn't much response.
tags
metadata to make tags searchable: https://github.com/squidfunk/mkdocs-material/blob/0c555b2c9f667cf453a1ebad58123204f4a9c85b/src/plugins/search/plugin.py#L48-L49
Some of them are mini blog posts
There's an issue for supporting blog posts (squidfunk/mkdocs-material#3353) which I'm keenly watching and has garnered some support (:+1:)
.md-header
?
@squidfunk: you could put specially marked comments intertwined with the CSS and then automatically extract those comments.
but anyway for me it would not be easier to browse a list of classes than just inspect in browser
generator: false
under extra:
, but it doesn't seem to be working. Should I make an issue on github?
prefers-reduced-motion: reduce
via the Chrome dev tools and see whether the issue persists. If it goes away, it's very likely related to animations.