Skip to content

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants