saylordotorg / course_psych301

PSYCH301: Social Psychology
0 stars 1 forks source link

Fixed-width font in displayed text #2

Open saylorstudent opened 9 years ago

saylorstudent commented 9 years ago

Randomly throughout the course (ex.: 1.1.2), displayed text is fixed-width font rather than the standard font of other text.

jazinheira commented 9 years ago

I looked at the markdown but nothing there seems to be causing it. Looks like the issue might be due to the way the kramdown parser is parsing some of the (randomish) line breaks as shown here: http://stackoverflow.com/questions/28334630/why-are-code-tags-being-inserted-by-liquid-jekyll-and-how-do-i-remove-them.

Kramdown syntax: http://kramdown.gettalong.org/syntax.html#code-blocks

This should be alleviated if we move over to using the redcarpet markdown engine. I'll try switching to that in the config and see if it helps.

jazinheira commented 9 years ago

Still no dice with the redcarpet engine. We'll have to look at the line formatting. @Athaboros @neonacorns