Skip to content

Minimal markdown formatting #18

@melvincarvalho

Description

@melvincarvalho

Summary

Define a minimal set of markdown formatting that chat clients should support for message content in sioc:content.

Proposed Syntax

Syntax Renders as
*bold* bold
_italic_ italic
~strikethrough~ strikethrough
`code` code

Rationale

  • Familiar syntax (Slack, Discord, WhatsApp all use similar)
  • Simple to implement (~10 lines regex)
  • No ambiguity with RDF content
  • Graceful degradation (readable even without rendering)

Scope

This is about the text syntax stored in sioc:content. Rendering is implementation-specific.

Questions

  1. Should we support **bold** as an alternative to *bold*?
  2. Should we support multi-line code blocks (triple backticks)?
  3. Should we support links [text](url)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions