swcarpentry / DEPRECATED-bc

DEPRECATED: This repository is now frozen - please see individual lesson repositories.
Other
299 stars 383 forks source link

Fix headings for book #545

Closed rgaiacs closed 10 years ago

rgaiacs commented 10 years ago

Some Markdown files start with


---
layout: lesson
root: .
title: TITLE

---
### SUBTITLE

When creating book.md it will have

## TITLE
### SUBTITLE

that is translate into HTML by Jekyll as

<h2>TITLE</h2>
<p>### SUBTITLE</p>

Change make-book.py to generate book.md having

## TITLE

### SUBTITLE

will fix this issue without side effect.

Thanks to @jduckles for reporting this issue.