christophM / interpretable-ml-book

Book about interpretable machine learning
https://christophm.github.io/interpretable-ml-book/
Other
4.76k stars 1.06k forks source link

Possibly fix newlines in plain text #333

Closed rikhuijzer closed 2 years ago

rikhuijzer commented 2 years ago

The section about the lightning and the pain killers at https://christophm.github.io/interpretable-ml-book/storytime.html#lightning-never-strikes-twice does not ignore the newlines. My guess is that this is a Pandoc bug caused by the fact that for bold text newlines shouldn't be ignored. Adding an empty line might solve it since the next section does have an empty line between the subsection and the bold font text. I haven't tested this locally

christophM commented 2 years ago

The newlines are on purpose and they come from whitespace at the end of the sentences.