I’m making my own Markdown/MDX replacement. Just added an “about” attribute to my blockquotes today. Pretty happy with the way things are shaping up.

    • TheIdOfAlan@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      9 months ago

      huh, yeah, that’s not at all obvious is it 😜

      The format is made up with sections that start with either the beginning of the file or an empty line followed by two dashes and a section name. Attributes are zero or more lines under the initial starting header with key/value pairs. Most sections have content, but some don’t (e.g. metadata) which goes below and continues until you hit another section header or the end of the file . A page might look like:

      -- title
      
      This Is A Page
      
      
      -- blockquote
      -- by: Some Person
      
      This is what they said
      
      With some more lines
      
      
      -- metadata
      -- date: 2023-12-31T18:02:07