algorithm-archive
algorithm-archive copied to clipboard
Whitepace code not present in Euclidean chapter
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.
I know. codeblock
(or whatever) eats the trailing spaces :(
I don't know what to do short of diving into highlight.js
Yeah, it was just something to put out there. I don't think this is an easy fix.
It may be an easy fix, try setting this to false: https://github.com/algorithm-archivists/algorithm-archive/blob/822665537b20f41ef424baee16cbd58fc1cbcae1/book.json#L23
On Mon, Oct 8, 2018 at 8:12 AM James Schloss <[email protected]mailto:[email protected]> wrote:
Yeah, it was just something to put out there. I don't think this is an easy fix.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Falgorithm-archivists%2Falgorithm-archive%2Fissues%2F486%23issuecomment-427809809&data=02%7C01%7Cerb74%40pitt.edu%7Caa99ea9ccd4740cad70e08d62d17564d%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1%7C0%7C636745975585712754&sdata=iP%2Bjkic60IHMw3kdrrhXpu2wQ0HXk%2FoPxARe82I2034%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAsaEyulrQ60ukj4o6O_sB6ZhOEdpxjAks5ui0E0gaJpZM4XMymO&data=02%7C01%7Cerb74%40pitt.edu%7Caa99ea9ccd4740cad70e08d62d17564d%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1%7C0%7C636745975585712754&sdata=%2BJ9%2FhTmIWjRHDp0p7MuieazN8FAvIZlsR%2Bg3NARh9IQ%3D&reserved=0.
I just tried this and it doesn't seem to work. Not sure where the whitespace is being stripped.
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.