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

Added code syntax highlighting for tutorials #1850

Merged
merged 2 commits into from May 30, 2018
Merged

Added code syntax highlighting for tutorials #1850

merged 2 commits into from May 30, 2018

Conversation

matustuhy
Copy link

Introduction

Added Code syntax highlighting to for tutorials

Motivation

Make it easier to read

Copy link
Member

@ricardograca ricardograca left a comment

Choose a reason for hiding this comment

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

Thanks for this, but there's a small problem. These tutorials aren't meant to be read separately, although that works. They are meant to be included in the website and that is generated using JSDoc, that's why you see the {@link Model#belongsToMany belongsToMany} stuff when you see the files on their own.

That said, it is acceptable to use GitHub flavoured markdown for syntax highlighting, but then you also have to remove the 4 spaces indentation of those blocks, otherwise the alignment is off.

Copy link
Member

@ricardograca ricardograca left a comment

Choose a reason for hiding this comment

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

Much better. Thanks!

@ricardograca ricardograca added this to To Do in Version 0.14.0 via automation May 30, 2018
@ricardograca ricardograca merged commit 70e921b into bookshelf:master May 30, 2018
Version 0.14.0 automation moved this from To Do to Done May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants