genemichaels icon indicating copy to clipboard operation
genemichaels copied to clipboard

Configure markdown alternative styles (bullets, strong, em, hr)

Open andrewbaxter opened this issue 2 years ago • 2 comments

This wouldn't be too hard to add, so if there's a large demand for it I'm happy to add it.

In general the theme of this formatter is "I don't care how it looks, I just want it to be readable and fully automatic". People who have very specific formatting preferences will at some point disagree with the formatting choices here and need to format things manually I think, so I'm not sure how useful this is.

Maybe there's a few people where just having this configurable would be enough to make it palatable for them though.

andrewbaxter avatar Feb 04 '23 14:02 andrewbaxter

Could you perhaps add an option to use a custom markdown formatter via stdin? Then people can use their own personal opinionated markdown formatter that formats to their liking, and it means a bit less work for you.

LnxgpI0k avatar Oct 21 '25 22:10 LnxgpI0k

That's an idea too... it'd be a bit complex, like the rustfmt::skip stuff, although I got that (mostly) working eventually. Having genemichaels itself do markdown formatting is important though because I'd like to format (rust) code within the markdown eventually (recursively).

Supporting a few style differences in markdown shouldn't be too hard though... probably just adding config options for e.g. "markdown_bullet_string": "*" etc.

andrewbaxter avatar Oct 23 '25 16:10 andrewbaxter