aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.gmi
AgeCommit message (Collapse)Author
2023-02-24Declare safeHTML where possibleNicholas Johnson
2023-02-24Add tag list to metadata partialNicholas Johnson
2023-02-05Fix Gemini bold/italics removal regexv0.3.3Nicholas Johnson
2023-01-28Always render link emoji for referencesv0.3.2Nicholas Johnson
2023-01-25Rename $cur_chunk to $rendered_textv0.3.1Nicholas Johnson
2023-01-25Remove extra variable assignmentNicholas Johnson
2023-01-25Make regex more preciseNicholas Johnson
2023-01-24Rewrite Gemini chunk and link parsing logicv0.3.0Nicholas Johnson
Improved the chunk-finding regex and added safeguards to prevent unintended behavior. Chunk rendering logic had a bug. If the pre-formatted text was identical to the regular text, it would be wrongly overwritten. To resolve this, the find-and-replace-style logic was removed. The new logic splits chunks into parts, renders them, then reassembles them in in order.
2023-01-23Fix italics/bold removal regex for Geminiv0.2.1Nicholas Johnson
2023-01-22Render files in chunks to ignore preformatted textv0.2.0Nicholas Johnson
2023-01-22Use (?m) flag instead of replacing \nNicholas Johnson
2023-01-22Add indentation for readabilityNicholas Johnson
2023-01-22Improve italics/bold text parsingNicholas Johnson
2023-01-21Simplify Gemini single page template link parsingv0.1.1Nicholas Johnson
2023-01-21Fix typoNicholas Johnson
2023-01-21Only print links header when there are linksNicholas Johnson
2023-01-21Implement Gemini template for inline web linksNicholas Johnson
2022-12-08Fix Gemini's link emojiNicholas Johnson
2022-12-08Replace emojis with emoji codesNicholas Johnson
2022-12-08Clarify page variableNicholas Johnson
2022-12-06Show page info by default on entries onlyNicholas Johnson
2022-11-10Replace emojis with the emojify processorNicholas Johnson
This increases code accessibility.
2022-09-16Conditionally add page info to top of pageNicholas Johnson
2022-09-07Simplify URL in single.gmiNicholas Johnson
2022-09-06Allow link emojis to be turned off per-pageNicholas Johnson
2022-09-06Add missing link emoji for GeminiNicholas Johnson
2022-09-03Give all pages an h1 heading based on their titleNicholas Johnson
2022-09-03Remove redundant regexNicholas Johnson
2022-09-03Flatten headings 4 through 6 for GeminiNicholas Johnson
The CSS styling reflects that the headings are flattened as well.
2022-09-03Add link emoji to give links some styleNicholas Johnson
2022-08-07Add line break between "return to homepage" button and contentNicholas Johnson
2022-08-07Fix link conversionNicholas Johnson
2022-08-07Revert "Vanish HTML line breaks"Nicholas Johnson
This reverts commit 08712197aa459823cdb8c8dd06098133b2810a6f. For now, don't try to parse HTML tags with RegEx.
2022-08-07Vanish HTML line breaksNicholas Johnson
2022-08-07Make Gemini properly recognize Markdown's unordered lists that startNicholas Johnson
with '-'
2022-08-03Remove italic and bold Markdown from Gemini capsuleNicholas Johnson
Only removes asterisks, not underscores.
2022-08-01Don't HTML escape Gemini templatesNicholas Johnson
2022-04-30Use safeHTML for Gemini templates to prevent HTML escapingNicholas Johnson
2022-04-30Output GeminiNicholas Johnson