-
Notifications
You must be signed in to change notification settings - Fork 599
runtime.md: Fix sub-bullet indentation #495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime.md: Fix sub-bullet indentation #495
Conversation
The indentation of the sub bullets for the status entries under State were not indented by the 4 spaces required by markdown. They did not render well in the pdf, at least with my native build with pandoc v1.13.2. Change them to 4 spaces, which now renders well. Signed-off-by: Graham Whaley <graham.whaley@linux.intel.com>
|
Oh wait, adding spaces makes it better in the PDF? |
|
It does for me - in the html also. Without the spaces it was much less clear that those were sub-points to the previous point. I'm having trouble finding a definitive markdown reference (anybody?), but from the random pages I have found I think the requirement is for four spaces or a tab character to increase the level of indentation. |
|
Yeah. Definitive documentation on stuff lack that is lacking On Thu, Jun 9, 2016, 06:45 Graham Whaley notifications@github.com wrote:
|
|
On Thu, Jun 09, 2016 at 04:45:16AM -0700, Graham Whaley wrote:
From 1: List items may consist of multiple paragraphs. Each subsequent I expect that's intended to be read with “block element” instead of |
|
I did a bit more digging. It is slightly more convoluted... Thus, I checked how the sub-list in runtime.md looked when viewed:
In the master version, it looks fine when rendered on github, but both the pdf and html render the sub-list as a 'non-bold' list at the same level of indent using the same style of bullets. On my screen/system at least it is hard to tell the difference from the top level list. So, although technically we could stick to the two spaces as per the github_markdown spec, the docs seem to render much better with four spaces. |
|
Should we file follow-up PRs for the other instances? For example |
|
I imagine this PR could add more. And image-spec needs to be double checked. |
The indentation of the sub bullets for the status entries under State were not
indented by the 4 spaces required by markdown. They did not render well in
the pdf, at least with my native build with pandoc v1.13.2. Change them to 4
spaces, which now renders well.
Signed-off-by: Graham Whaley graham.whaley@linux.intel.com