Skip to content

Add code block formatting to the README.md. - #10

Open
Nufflee wants to merge 1 commit into
boschsensortec:masterfrom
Nufflee:patch-1
Open

Add code block formatting to the README.md.#10
Nufflee wants to merge 1 commit into
boschsensortec:masterfrom
Nufflee:patch-1

Conversation

@Nufflee

@Nufflee Nufflee commented Nov 30, 2020

Copy link
Copy Markdown

This adds C code highlighting and proper code block formatting to the example code in the README.md. It makes it a lot nicer and easier to read.

@majianjia

Copy link
Copy Markdown

Great work, please merge @boschsensortec

@sangvikh

sangvikh commented Oct 18, 2021

Copy link
Copy Markdown

+1
Just thought of doing this myself. But it should be able to do it by indenting the code with an extra tab, makes the code more copy-pasteable without a markdown viewer. The same can also be applied on DataSync.md
https://daringfireball.net/projects/markdown/syntax#precode

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants