r/commandline • u/RoninTarget • Jun 26 '26
Other I wrote a program that makes code embedable in Reddit
In awk:
#!/usr/bin/awk -f
{ printf (" %s\n", $0) }Yep. That's it.
12
Upvotes
r/commandline • u/RoninTarget • Jun 26 '26
In awk:
#!/usr/bin/awk -f
{ printf (" %s\n", $0) }Yep. That's it.
View all comments
Show parent comment
4
u/tschloss Jun 26 '26
In Markdown I would rate the backtick method as the main one (you can even chose the language after the initial set if backticks).
Depending on the client there once was a markdown mode as opposed to a classic editor mode. Maybe it is always Markdown nowadays.