ToshioCP / Gtk4-tutorial

GTK 4 tutorial for beginners
https://toshiocp.github.io/Gtk4-tutorial/
572 stars 50 forks source link

Line numbers copied along with code. #35

Closed RageshAntony closed 1 year ago

RageshAntony commented 1 year ago

When trying to copy a codeblock from a tutorial section, the line numbers also being copied along with the code even with the copy button on top right

please fix them

ToshioCP commented 1 year ago

Thank you for posting the issue, RageshAntony.

I posted minitues ago, but there was a mistake in it so I deleted it. This is the second post which is correct one.

The line numbers are for readers to easily find a target line in the source code. So it can't be left out. But instead, there are source codes below src directory. For example, pr1.c in the section 3 is located at src/misc/pr1.c.

So, please clone this repository to your local computer and see the files below the src directory.

If you have other problems, feel free to post issues.

Toshio Sekiya