textual-paint
textual-paint copied to clipboard
markdown support ?
Markdown seems like it would be a great fit for an output format, maybe even "copy to clipboard as markdown", the whole image, or just a selection
Markdown doesn't support color, except when using HTML tags. I actually did try to support Markdown as a read/write format, and that work is on a branch called markdown
. For writing, it was just the same as the HTML export except without the boilerplate (<!doctype html>
, etc.). For reading, I tried to use Textual's built-in MarkdownViewer
component, but I realized it can't actually read the HTML that I was outputting, which made it pretty silly to have around — read and write, but not reading what it can write? Ever seen a program like that? :laughing:
I am very disappointed that markdown doesn't support color
I want a markdown with colors and sixel support !
I found this discussion
https://stackoverflow.com/questions/35465557/how-to-apply-color-on-text-in-markdown
They suggest using unicode emoji for adding a little color
Like 🔴🟠⚫⚪🟣🟢🟡🔵
They also suggest using CSS ?
TODOs:
-
TODO: Important thing to do -
TODO: Less important thing to do -
DONE: Breath deeply and improve karma // resets s { text-decoration:none; } //strike-through em { font-style: normal; font-weight: bold; } //italic emphasis
// colors s { color: green } em { color: blue }
I don't understand how that would work as I don't understand CSS
Maybe they can be hidden in a collapsible section and still work somehow ?
collapsed section
TODOs:
-
TODO: Important thing to do -
TODO: Less important thing to do -
DONE: Breath deeply and improve karma // resets s { text-decoration:none; } //strike-through em { font-style: normal; font-weight: bold; } //italic emphasis
// colors s { color: green } em { color: blue }