diff options
| author | Adam Soltys <[email protected]> | 2026-10-09 21:48:11 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-09 21:48:11 -0700 |
| commit | faec1f84ed1e9e8ee78055796a8ebc92936abe9d (patch) | |
| tree | 4d31820e4b1fd762ca40727711ee1ab365bf201f /src/style.css | |
| parent | 75ca3da7f87846f26743d0c27afc90d9f0d19a7c (diff) | |
| download | coinosv3-faec1f84ed1e9e8ee78055796a8ebc92936abe9d.tar.gz coinosv3-faec1f84ed1e9e8ee78055796a8ebc92936abe9d.zip | |
Posts: inline markdown. **bold** / __bold__, *italic* / _italic_, ***both***, ~~struck~~ and `code` render in a post's plain text — what newsletter bots and Amethyst users type and Amethyst shows; we showed the asterisks. Strict about edges, so snake_case, x__init__y, 2*3*4, "$5 * 2" and a lone star stay as typed, and markers never reach across a link, mention or hashtag. No headings or lists in posts: "#" at a line's start is a hashtag here, and articles render their own headings. tools/post-markdown-test.js
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Vps2H27rhbG9ZqseGfMrc3
Diffstat (limited to 'src/style.css')
| -rw-r--r-- | src/style.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css index 5e3ddd7..8d41124 100644 --- a/src/style.css +++ b/src/style.css @@ -1628,3 +1628,5 @@ body::after { .mention-ac { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow: hidden; max-height: 280px; overflow-y: auto; } .mention-ac:empty { display: none; } .mention-ac .item { cursor: pointer; padding: 6px 10px; } +/* `code` in a post */ +.md-code { font-family: var(--mono, ui-monospace, monospace); font-size: .9em; background: color-mix(in srgb, currentColor 9%, transparent); border-radius: 4px; padding: 0 .3em; } |
