faggot Scul-Flavored Markdown

Sculblog

<<<Back to Sculblog

Scul-Flavored Markdown

Date: 16 Nov 2024

Tags:

Words:

I have extended markdown to add some features not present in markdown and that would be frequently used in a blogging setting.

  1. External links
    • Opening links in the same tab derails the flow of thought and can take the reader's focus away from your blog post to somewhere else. To open a link in a new tab in HTML, a target attribute must be specified as _blank, with the leading underscore indicating a reserved keyword, but special syntax for this is not included in markdown.
    • To indicate a link that opens in a new tag in Scul-flavored markdown, write the text in square brackets [], same as in normal markdown, then write the href in curly brackets {}.
    • Ex. [Google]{https://google.com} -> Google
  2. Indented Blocks
    • Indented blocks are a great way to indicate heiarchy and nesting of content but syntax for this is not included in markdown. In the HTML 4.0 specification, it is recommended to use stylesheets to indicate indented blocks. Indicating this in markdown would include everything in it in the HTML tag, defeating writing this in markdown, so I have extended markdown to support it using symbols.
    • A double pipe || indicates the starting of an intended block, and another double pipe || indicates the closing of that block.
    • The default rendering of an indented block in scul-flavored markdown is padding-left: 4% in CSS.

Thoughts

The internet... just as the founding fathers intended it!

<<<Back to Sculblog

Home