lorenzwalthert / stylermd

Make markdown or plain text fit 80 characters. Or any limit you want.
21 stars 2 forks source link

styling breaks links and other formatting #12

Closed IndrajeetPatil closed 3 years ago

IndrajeetPatil commented 6 years ago

The following issue is also valid for stylermd: https://github.com/tjmahr/WrapRmd/issues/7#issuecomment-373924059

Additionally, when I run stylermd on my .Rmd files, sometimes the line breaks happen right in the middle of **bold text** and the text is no longer turned to bold fontface. Similar thing also applies for italics, etc.

Here is an example:

Before:

image

After:

image

lorenzwalthert commented 6 years ago

Thanks @IndrajeetPatil. However, I can't reproduce the problem. I get the line split too, but markdown is rendered properly in html, pdf, and github_document format. What am I missing?

lorenzwalthert commented 6 years ago

As far as the split in the source goes, I agree it's a pity but doubt I will fix that soon since the reward/effort ratio seems to be low and I suspect it would slow down styling quite a bit.

IndrajeetPatil commented 3 years ago

Closing this for now as I am not sure if this is still relevant. Will reopen if I observe this behavior again.