openframeworks / ofSite

openFrameworks web site
http://openframeworks.cc
159 stars 579 forks source link

Code formatting issues with ofxCvContourFinder documentation pages #821

Open CorpusCallosum opened 2 months ago

CorpusCallosum commented 2 months ago

Hi, just noticed that the code formatting on these two pages is broken:

But, looking at the source files, I didn't see any issues, so not sure what's causing the code formatting to break here: https://raw.githubusercontent.com/openframeworks/ofSite/master/documentation/addons/ofxOpenCv/ofxCvContourFinder.markdown

dimitre commented 2 months ago

it seems to be using four tildes instead of three here in github the default is three backticks ` with the language like ```c++

CorpusCallosum commented 2 months ago

Yes, I believe that is correct, it should be using 4 tildes, as that is described in the readme as the correct approach, and also if you check the other documentation pages source codes, they are also using 4x tildes.

see: https://github.com/openframeworks/ofSite/blob/master/README.md

and for reference this page is using 4 tildes ~~~~ as an example: https://raw.githubusercontent.com/openframeworks/ofSite/master/documentation/math/ofMath_functions.markdown