3 ms·
Thanks. I'll probably look into a dockerfile option. Does format as a shell code block mean write it in a way that it can just be copied and pasted easily?
by roznoshchik 5y ago
Thanks. I'll probably look into a dockerfile option.
Does format as a shell code block mean write it in a way that it can just be copied and pasted easily?
- fire 5y agoGithub has pretty comprehensive documentation on their flavor of markdown used for formatting; Here's a direct link to the section on fenced code blocks: https://github.github.com/gfm/#fenced-code-blocks https://github.github.com/gfm/#fenced-code-blocks
- Shared404 5y agoIt'll format it as monospace, and typically in a format that's easier to recognize as being code. IIRC you can do that by gating code like this: ''' code goes here ''' in markdown, but it's been a while. (The spaces are necessary for HN markup, but not the markdown formatting).