Skip to content
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

Bad markdown parsing when the style is already bold #85

Open
DanChaltiel opened this issue Oct 15, 2024 · 0 comments
Open

Bad markdown parsing when the style is already bold #85

DanChaltiel opened this issue Oct 15, 2024 · 0 comments
Labels
bug 🐞 Something isn't working questionning ❓ not sure we should do it
Milestone

Comments

@DanChaltiel
Copy link
Owner

Reprex:

title = "normal text **bold** normal text"
read_docx() %>% 
  body_add_normal(title) %>% 
  body_add_title(title, 1) %>% 
  body_add_title("****normal text **bold** normal text", 1) %>% 
  write_and_open()

Maybe if the style is bold, bold markdown should be ignored?
Or maybe if there is markdown the style formats should be ignored?

Adding **** at the beginning is a workaround for now (artificially adds a bold closing tag).

@DanChaltiel DanChaltiel added bug 🐞 Something isn't working questionning ❓ not sure we should do it labels Oct 15, 2024
@DanChaltiel DanChaltiel added this to the v0.9.0 milestone Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working questionning ❓ not sure we should do it
Projects
None yet
Development

No branches or pull requests

1 participant