Nothing Special   »   [go: up one dir, main page]

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

Update README.md #824

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CorpusCallosum
Copy link
Contributor

fix for code sample formatting sample - should be 4 tildes

fix for code sample formatting sample - should be 4 tildes
Copy link
Member
@dimitre dimitre left a comment

Choose a reason for hiding this comment

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

it is written three tildes in the text
and there are four on the example

@CorpusCallosum
Copy link
Contributor Author

Oh yes you're right, the description states 3 tildes, but if you look at any of the documentation source files, they are using 4 tildes. For example: https://raw.githubusercontent.com/openframeworks/ofSite/master/documentation/math/ofMath_functions.markdown

hmmm
Now I'm confused, should it actually be 3 tildes, or 4 tildes? 🤔

@dimitre
Copy link
Member
dimitre commented Aug 17, 2024

from what I read now it can be three or more, tildes or backtick
backtick and it works great in github with syntax coloring so I got used with it.
I would change documentation to suggest using it.
Ideas? @ofTheo

```c++
void main() {
	std::exit(0);
}
```
void main() {
    std::exit(0);
}

vs tilde

void main() {
    std::exit(0);
}

EDIT: I found tildes work well but it doesn't go with the file extension between brackets,

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.

2 participants