News for hackers. Stuff that matters.
Re:Show HN: Lurnby, a tool for better learning, is now open ... by roznoshchik on Friday February 11, 2022 @09:14AM (#30301689)
I added an install.md now for setting it up locally. Does that work for you?
Re:Show HN: Lurnby, a tool for better learning, is now open ... by daitangio on Friday February 11, 2022 @09:21AM (#30301766)
Nice. Tip: format it as a shell code block on markdown

Also eval adding a Dockerfile for super-rapid deploy

Re:Show HN: Lurnby, a tool for better learning, is now open ... by roznoshchik on Friday February 11, 2022 @09:30AM (#30301864)
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?

Re:Show HN: Lurnby, a tool for better learning, is now open ... by fire on Friday February 11, 2022 @01:47PM (#30305441)
Github 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
Re:Show HN: Lurnby, a tool for better learning, is now open ... by Shared404 on Friday February 11, 2022 @12:17PM (#30304014)
It'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).