linear-cpp icon indicating copy to clipboard operation
linear-cpp copied to clipboard

A converter into markdown/epub format

Open Gullumluvl opened this issue 3 years ago • 3 comments

Hi,

not an issue, just a possible contribution.

This tutorial is just awesome, and I wanted to have it on my e-reader. Since you mention this in README:

Generating more human-readable files from the tutorials (or the other way around?)

I made a small script to turn it into markdown, then epub, it's here: github.com/Gullumluvl/cpp_2_markdown.git

Sorry, that was not written in C++ though...!

best

P.S: the formatting is already so neat that making it a clean markdown was way too easy.

Gullumluvl avatar Aug 08 '22 14:08 Gullumluvl

Hey, thanks, that looks great!

Would you mind if I included the script in this repository? :)

Glad the tutorial has been useful!

jesyspa avatar Aug 11 '22 17:08 jesyspa

Would you mind if I included the script in this repository? :)

No of course, please do!

I have noticed one display problem though: the lines inside code blocks are not wrapped, so long lines, especially comments with // cannot be read entirely. I should fix that before.

Gullumluvl avatar Aug 11 '22 18:08 Gullumluvl

Thanks! Could you make a pull request with the script once you're happy with it? That way attribution is easier to see, too :)

jesyspa avatar Aug 13 '22 12:08 jesyspa