My digital tea notes.
- Python 3.11
- pip3
pip3 install -r requirements.txt
python3 -m mkdocs build
or serve for development
python3 -m mkdocs serve
My digital tea notes with material mkdocs.
My digital tea notes.
pip3 install -r requirements.txt
python3 -m mkdocs build
or serve for development
python3 -m mkdocs serve
"material for mkdocs" extension to generate flavorwheels with "mkdocs build".
In markdown the wheel should be a block with the data, eg:
{{{wheel
sweet: 4
earthy: 3
}}}
Locally the sources of the image is different from the production path, therefore markdown preview cannot show the images.
The path of the pages are generated by mkdocs buid
from the blog posts date, such as:
..../2023/04/11/post.html
in which case the relative path of the images directory is elsewhere.
A workaround for that:
<img src="../../../img/2023-09-17_fire/fire_kozel.jpeg" onerror="this.src='/img/2023-09-17_fire/fire_kozel.jpeg';this.onerror='';" width="40%" ></img>
The src here is relative in the git repo, so the preview can work - on the production this path is missign, so the onerror
handles that and creates the correct path.
Disadvantages are:
Possible solution:
using only the repo relative path, and an mkdocs extension rewrites the src in mkdocs build
phase
maybe with https://bkrem.github.io/react-d3-tree/?
A plugin that generates a star-based rating from a numerical rating.
rating: 3/5
->
:material-star: :material-star: :material-star: :material-star-outline: :material-star-outline:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.