subtext icon indicating copy to clipboard operation
subtext copied to clipboard

Document how to do inline source code

Open justinabrahms opened this issue 2 years ago • 1 comments

When writing notes, I often have inline source code I need to reference. There's no documented mechanism of accomplishing this in subtext that I can find.

Examples:

We can look at the state of the raft peers via consul operator raft list-peers. If there's no leader, it won't return, and you instead need to pass the -stale flag to read from a follower.

justinabrahms avatar Aug 14 '23 21:08 justinabrahms

According to the subconscious ios app, inline code blocks are supported with backticks: https://github.com/subconsciousnetwork/subconscious/blob/main/xcode/Subconscious/Shared/Parsers/Subtext.swift#L297

justinabrahms avatar Aug 16 '23 16:08 justinabrahms