lorenzwalthert / stylermd

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

Can't handle bullet points properly if they exceed 80 characters and there are multiple #4

Closed lorenzwalthert closed 6 years ago

lorenzwalthert commented 6 years ago
library(magrittr)
library(stylermd)
tidy_text("Test: 

  * here isa paragra fasd fasifj apodif asdofij asofj asopdfj asdopfj asdfj sf
asfka dflösa fjlöasf alsökfj aejie iffj ewij fij sdkföldkjf aifjweoijsymy.
sdfksjd flskj fsdf 
asjfdk f
sföaksdjf aösldkfj lkjfekjwölekj here isa paragra fasd fasifj apodif asdofij asofj asopdfj asdopfj asdfj sf
asfka dflösa fjlöasf alsökfj aejie iffj ewij fij sdkföldkjf aifjweoijsymy.
sdfksjd flskj fsdf 
* here isa paragra fasd fasifj apodif asdofij asofj asopdfj asdopfj asdfj sfn asfka dflösa fjlöasf alsökfj aejie iffj ewij fij sdkföldkjf aifjweoijsymy.
sdfksjd flskj fsdf ") %>% cat(sep = "\n")
#> Test: * here isa paragra fasd fasifj apodif asdofij asofj asopdfj asdopfj asdfj
#> sf asfka dflösa fjlöasf alsökfj aejie iffj ewij fij sdkföldkjf aifjweoijsymy.
#> sdfksjd flskj fsdf asjfdk f sföaksdjf aösldkfj lkjfekjwölekj here isa paragra
#> fasd fasifj apodif asdofij asofj asopdfj asdopfj asdfj sf asfka dflösa fjlöasf
#> alsökfj aejie iffj ewij fij sdkföldkjf aifjweoijsymy. sdfksjd flskj fsdf * here
#> isa paragra fasd fasifj apodif asdofij asofj asopdfj asdopfj asdfj sfn asfka
#> dflösa fjlöasf alsökfj aejie iffj ewij fij sdkföldkjf aifjweoijsymy. sdfksjd
#> flskj fsdf

Created on 2018-07-17 by the reprex package (v0.2.0).