algorithm-archive icon indicating copy to clipboard operation
algorithm-archive copied to clipboard

Whitepace code not present in Euclidean chapter

Open leios opened this issue 6 years ago • 5 comments

I know this sounds like a joke because of how we implemented whitespace in the Euclidean algorithm chapter; however, if you highlight the code snippet, there is no actual whitespace there. It is available in the code/whitespace directory, though.

leios avatar Oct 08 '18 12:10 leios

I know. codeblock (or whatever) eats the trailing spaces :( I don't know what to do short of diving into highlight.js

jiegillet avatar Oct 08 '18 12:10 jiegillet

Yeah, it was just something to put out there. I don't think this is an easy fix.

leios avatar Oct 08 '18 12:10 leios

I just tried this and it doesn't seem to work. Not sure where the whitespace is being stripped.

leios avatar Oct 08 '18 21:10 leios

If we're not finding a way to solve this, we might as well remove the whitespace code blocks and finally close this issue. I'll do a PR for that.

Amaras avatar Apr 18 '22 02:04 Amaras