3 ms·
git config --global alias.lg "log --color --graph --oneline --decorate" for easy copy-pasting. HN doesn't support backticks or triple backticks like a lot of m
by hoorayimhelping 8y ago
git config --global alias.lg "log --color --graph --oneline --decorate"
for easy copy-pasting. HN doesn't support backticks or triple backticks like a lot of markdown parsers. To get fixed-width fonts, you have to insert 4 paces at the beginning of the 'code' block.
- Stratoscope 8y agoTwo spaces (unlike Markdown). Of course four will work, it just adds more indentation.
- u801e 8y agoIn some mobile browsers, doing this will result in the fixed-width font line getting cut off when viewing the resulting post.