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

Read codeblocks #2

Open
nelsonmestevao opened this issue Jan 14, 2019 · 2 comments
Open

Read codeblocks #2

nelsonmestevao opened this issue Jan 14, 2019 · 2 comments

Comments

@nelsonmestevao
Copy link

Instead of indented code blocks, in markdown, it is much more common to be inside a fence block that starts with ```language.

@spro
Copy link
Owner

spro commented Jan 14, 2019

That's true for standard markdown, but not necessarily in literate programming because 1) the indentation is easier to parse (both by computer and eyes) and 2) the language is always going to be the same.

@nelsonmestevao
Copy link
Author

nelsonmestevao commented Jan 14, 2019

Well, the language is only important for the editor to giving proper syntax highlight.

Even though a language will not change I would prefer (because it is more standardized).

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

No branches or pull requests

2 participants