deleted by author
pull down to refresh
3 sats \ 4 replies \ @BubeniCZECH OP 22 Feb 2023
Sorry, I don't know how to format the text. Some comments have become headlines. How can I differentiate between text and code when inserting a post?
reply
0 sats \ 3 replies \ @ek 22 Feb 2023
You can use ``` like this:
```
some code
```
Unespaced, using ``` looks like this:
See also:
- #349
- https://docs.github.com/de/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#code-zitieren
reply
0 sats \ 2 replies \ @BubeniCZECH OP 22 Feb 2023
Thanks, but it only works when I copy it. I don't know what character it is or how to type it. When I type an apostrophe, it doesn't work.
reply
0 sats \ 1 reply \ @ek 22 Feb 2023
The character is a backtick: https://en.wikipedia.org/wiki/Backtick
reply
0 sats \ 0 replies \ @BubeniCZECH OP 22 Feb 2023
Thanks, it's working for me now, but it's weird. VSCode uses an apostrophe for the same purpose, which doesn't work here, and the bactick that works here doesn't work in VSCode.
reply
0 sats \ 0 replies \ @BubeniCZECH OP 22 Feb 2023
So again and better:
reply
0 sats \ 2 replies \ @siggy47 22 Feb 2023
I'm impressed. I managed to code half a 1970s pong game and couldn't finish it. The ball is still banging off the paddle.
reply
0 sats \ 1 reply \ @BubeniCZECH OP 22 Feb 2023
I programmed it according to the instructions. I couldn't have done it myself.
Pong is a good idea for another learning project ;o)
reply
0 sats \ 0 replies \ @siggy47 22 Feb 2023
Me too! There's no way I could do it from scratch. I still got lost somehow. Then I got lazy. There is a good pong tutorial on youtube, but I don't have the link.
reply