Format dialogues in markdown
• 95 words • 1 min
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
I wanted to add a new kind of post to this blog, wherein I transcribe conversations (a dialogue).
Initially, I formatted conversations like this:
- Alice: Hi
- Bob: Hello
In code:
markdown
- Alice: Hi
- Bob: HelloBut that’s just an ordinary list.
I thought about using em-dashes next, but they were meh (–).
Then the lazy web helped me with inspirations, and I settled with the following format:
Alice: Hi
Bob: Hello
In code:
markdown
> **Alice**: Hi
>
> **Bob**: HelloIt combines blockquotes with bolding the speaker. Simple, yet effective.
Source: https://blog.jakelee.co.uk/markdown-conversation-formatting/