You are reading content from Scuttlebutt
@Christian Bundy %ijcZF1w9AuNh0/UsvdoLXVVtSMIbPo+vDpcKvCH9qGk=.sha256
Re: %HhkEF4yj0

@cel

That makes sense. For what it's worth, my branch of ssb-markdown is CommonMark plus:

  • Block: Full HTML output, accepts Markdown string and opts.
    • Any link starting with # has target="_blank" added as a property.
    • Emoji :name: renderer, defaults to UTF-8 emoji output but can use images with opts.emoji function.
    • Linkifier:
      • HTTP, HTTPS, FTP, data, and dat URI schemes by default.
      • Ability for plugins to add HTTP-like protocol handlers in opts.protocols array.
      • Sigil links, hashtags, and @mentions rendered with opts.toUrl() function.
    • Media:
      • Supports alt text starting with audio: or video: to render media players.
      • Wraps all imags in a link to that image with opts.toUrl() function (hmm).
  • Inline: Plaintext content preview, accepts Markdown string and opts.
    • Emoji :name: emojifier, defaults to UTF-8 emoji output but can use images with opts.emoji function.
    • Links are replaced with the plaintext text node inside the link (no href).
    • Images are replaced with their alt text.
    • Code blocks are replaced with their HTML-encoded contents.

If you think the git object id linkifier might be a good fit for ssb-markdown I'd be happy to look into adding it to my branch.

Join Scuttlebutt now