Hi Lin OneTwo,
It isn't necessary to do the base64 encoding manually. Have a look at the
font embedded in the "Startlight" theme that is accessed via the
`<>` macro:
https://github.com/Jermolene/TiddlyWiki5/blob/master/themes/tiddlywiki/starlight/styles.tid
Best wishes
Jeremy
On Monday,
I encode it manually instead:
1. download the font file, for example, `FiraCode-VF.woff2`
2. `base64
'/Users/linonetwo/Downloads/Fira_Code_v6.2/woff2/FiraCode-VF.woff2' -o
'/Users/linonetwo/Downloads/Fira_Code_v6.2/woff2/FiraCode-VF.woff2.base64.txt'`
as said in
Sorry, it wasn't fixed at all, but finally I fixed the problem.
param=<<__tx__>>
↓
param={{{ [<__tx__>trim[]] }}}
Full code
---
\define code(tx)
table.mycodeblock {
border: none;
margin: 7px 0 11px;
}
table.mycodeblock pre {
margin: 0;
}
table.mycodeblock td {
border: none;
3 matches
Mail list logo