đŸ Archived View for dj-chase.com âș meta âș readme.gmi captured on 2024-12-17 at 10:07:36. Gemini links have been rewritten to link to archived content
âŹ ïž Previous capture (2022-06-11)
-=-=-=-=-=-=-
Hi! This is the source for my site. Itâs aranged like this:
See COUNTRIBUTING for how to submit patches.
txt2tags is a simple format thatâs a good compromise between gemtextâs simplicity and htmlâs semantics. I chose not to use markdown because I donât particularily like markdown. Thereâs documentation on the project web-site:
Also note that Make.py adds two commands: %!html: and %!gmi:. When at the begining of a line, these commands make that line only show up in the respective output format. They are processed before the fileâs handed off to txt2tags, so the rest of the line (after an optional whitespace character) is treated exactly like any other input-line. Take this snippet as an example:
Here are some links: %!html: - [foo https://example.com/] %!html: - [bar https://example.net/] %!html: - [baz https://example.org/] %!html: - [qux https://example.edu/] %!html: %!gmi: [foo https://example.com/] %!gmi: [bar https://example.net/] %!gmi: [baz https://example.org/] %!gmi: [qux https://example.edu/] Lorim ipsum dolar sit amet.
Before converting to html, this will become the following:
Here are some links: - [foo https://example.com/] - [bar https://example.net/] - [baz https://example.org/] - [qux https://example.edu/] Lorim ipsum dolar sit amet.
But before converting the gemtext, it will become this:
Here are some links: [foo https://example.com/] [bar https://example.net/] [baz https://example.org/] [qux https://example.edu/] Lorim ipsum dolar sit amet.
This is useful for format differences â such as gemtext not supporting explicit lists of links â and etc.
â
Questions, comments, or wrote a reply? Email me.
© DJ Chase, 2024. Licensed under the Academic Free License (AFL 3.0)