norvig / paip-lisp

Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown - target version? Hard line breaks?

pronoiac opened this issue · comments

I thought we were targeting GitHub Flavored Markdown, but hard line breaks aren't rendering well. Compare the quote at the start of chapter 2 over on the repo (good!) to the online version of the book (not good).

I think the online version uses docsify, which uses marked, which seems to have an optional parameter to enable gfm. I set up a local server and experimented with the $docsify portion in docs/index.html, but I was unable to get it working. Help, or suggestions?

Got it! Double trailing spaces work in both.

Yeah, I got burned by the double trailing spaces before ...