Replies: 1 comment 2 replies
-
It's probably going to be markdown or ANSI codes directly that you can create in any way you want. So So something like that I guess
Still, need some time to get there. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently generating docs involves too much syntax noise, which rivals the content itself and makes it hard to read
I've added some shorter aliases, which helps, but still less than ideal
I think a much better way would be to have something similar to a format! macro, but where you could inline all the styles, for example, this is a nice clean readable text:
where each style requires only 3 symbols: style name
X
and very light brackets‹›
(to not add any more noise than needed)*‹›
orb‹›
empasis (orem‹›
)`‹›
orl‹›
literal!‹›
orx‹›
invalidand could easily be extended should you need more styles:
_‹underline›
-‹strikethrough›
And literal
*‹
could be as simple as duplicating the bracket*‹‹
(similarly,››
inside an opened‹
could bit a literal›
)Downgrading to ascii could also be an alternative crate feature in case you don't mind having more potential conflics since these have common use
Beta Was this translation helpful? Give feedback.
All reactions