-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dash "-" character not being escaped #223
Comments
@vrybkin In fact, the conversion from - to that "ugly looking black dot" happens when pandoc converts from md to html: It recognizes it as the list symbol... Proof is that if you run this thing in r console and see the results in RStudio viewer, you will see the original "-". That means that unfortunately I can't do anything to help you in this case. :P |
@haozhu233 Thank you for the note! That is too bad that pandoc does that. I ended up using |
@vrybkin I read a note somewhere else last week that you can use |
Just to add a solution to this, I have been able to add "\" to columns with "+" or "-" values to escape them manually, so: table %>% |
Hi @haozhu233, thank you again for this wonderful package and your time. Others may have pointed this out already - but I could not find it previously - that kableExtra 0.8.0 does not currently escape the - dash character and converts it to a really ugly looking black dot. I know you can can call it with \- but sometimes it can be a pain to go through every table and replace these instances as it makes the tables less readable outside of this package. A quick markdown example is below. Curiously, this is not an issue in shiny, where the - character renders fine.
The text was updated successfully, but these errors were encountered: