Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converted the markdown generation to showdown. #222

Merged
merged 4 commits into from
Oct 24, 2019
Merged

Converted the markdown generation to showdown. #222

merged 4 commits into from
Oct 24, 2019

Conversation

mikegeyser
Copy link
Contributor

This closes #219

This includes markdown rendering via showdown instead of mistune (because of the reasons mentions in this comment. Importantly, the chapter.html template had to change to accommodate ejs, so the escaped curly braces has to be removed (which looks like a weird change). I haven't deleted the 'old' generate_chapters script, but think that it should probably also be removed.

I haven't included regenerated jinja templates, so that the PR was leaner and easier to review, but I have tested it against the contents of the #215 PR. If it would help, I am happy to run it against these templates.

Please take a look, and let me know if there are any problems or suggestions?

@mikegeyser mikegeyser added bug Something isn't working development Building the Almanac tech stack labels Oct 23, 2019
@mikegeyser mikegeyser requested review from rviscomi and a team October 23, 2019 12:13
@mikegeyser mikegeyser self-assigned this Oct 23, 2019
Copy link
Member

@rviscomi rviscomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, runs great. Just a couple of suggestions.

Also excited to see that it automatically generates IDs for headings, progress on #199

src/templates/en/2019/chapter.html Outdated Show resolved Hide resolved
src/tools/generate/index.js Show resolved Hide resolved
Copy link
Member

@rviscomi rviscomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rviscomi rviscomi merged commit e84205a into master Oct 24, 2019
@rviscomi rviscomi deleted the showdown branch October 24, 2019 15:29
@mikegeyser mikegeyser mentioned this pull request Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working development Building the Almanac tech stack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MD tables not rendering correctly
2 participants