Skip to content

Minimal markdown formatting #18

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)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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