This content originally appeared on DEV Community and was authored by Splot Dev
I've just built GlassScript - a structured markup language. It's a balance between Markdown and HTML, with just enough syntax to give you control, but no boilerplate.
It's great for writing documentation, or maybe a article.
It's written in Python, and can be run through Python PIP or HTML Pyodide. I used regex to parse it, and that saved a lot of time.
Commands look like this:
(!command)(main_value)
(?variable)(value)
(.function)(html)
As you can see, it looks simple enough. You can also use carats to escape the brackets.
In the HTML Pyodide one, the plug and play method, I included all the functions/preloads for ease of use.
Check it out: https://www.splot.dev/glass-script/
If you need the code, check out my repo, and maybe contribute: https://codeberg.org/splot-dev/glass-script
Thanks for reading, and enjoy your day!
This content originally appeared on DEV Community and was authored by Splot Dev
Splot Dev | Sciencx (2025-10-15T20:31:19+00:00) GlassScript – A Simple Markup Language. Retrieved from https://www.scien.cx/2025/10/15/glassscript-a-simple-markup-language/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.