jsonresume / jsonresume.org

The mono repo that builds the homepage, utils, ui components, registry and anything else
https://jsonresume.org
48 stars 14 forks source link

add support multiple lines in "summary" section #108

Open duchenpaul opened 4 weeks ago

duchenpaul commented 4 weeks ago

Is your feature request related to a problem? Please describe. The render engineer seems to ignore newline symbols such as, so they render as one paragraph:

  summary: "line 1\nline 2\nline 3\nline 4"

Describe the solution you'd like Summary sections could be better as one paragraph, but I think it is good to leave it to the users, so I suggest the render engine doesn't ignore newline (\n), tab (\t), etc.

Describe alternatives you've considered Use <br> instead

Additional context no

thomasdavis commented 4 weeks ago

@duchenpaul which theme are you currently using?

duchenpaul commented 4 weeks ago

I tried 2 themes, macchiato and Kendall, none of them rendered newline, I will try and see if <br> can help

My resume in json

duchenpaul commented 4 weeks ago

<br> will render as newline! this is cool! <br> will render as newline in Kendall, but not macchiato

thomasdavis commented 4 days ago

I'm going to add markdown support to summary fields in professional theme