Post Az8FDLPqilMqZAOaC8 by publicvoit@graz.social
(DIR) More posts by publicvoit@graz.social
(DIR) Post #Az8FDKP6U3B1QZ2TOS by HaraldKi@nrw.social
2025-10-12T11:27:44Z
0 likes, 0 repeats
I write my blog in plain HTML + a simple script to embed pages into a page structure. No problem with #emacs, the few <p> don't kill me.Yet one thing: If I have a longer term which appears frequently in a text, I would like to abbreviate it. In LaTeX I would do \def\sol\xspace{speed of light}and then keep writing \sol.I could devise a similar simple expansion in my script, but started to wonder if there is any chance to do it with HTML+CSS (no JS!) only?#html #css #texlatex #blog
(DIR) Post #Az8FDLPqilMqZAOaC8 by publicvoit@graz.social
2025-10-12T11:48:59Z
0 likes, 0 repeats
@HaraldKi If you would switch to #Orgdown + a static web page generator (there are so many, I've built one myself), then you could use Org-mode macros for that.(Fixed wrong language tag.)