-
Notifications
You must be signed in to change notification settings - Fork 482
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
possible rendering issue with nested lists? #261
Comments
Probably dup of #159. |
I don't get this, the suggested issue/blame is Python-Markdown/markdown#3 (and mkdocs/mkdocs#545), it seems like python's markdown lib parses this file just fine. |
I surrounded the nested list with whitespace but it didn't have any effect. Just to be clear - nested lists do, in fact, nest - but they don't "un-nest". |
FYI I've had a better experience with native HTML rendering does better with nested lists. If you check out my current page (switched to the native HTML rendering since that issue) http://juliadiffeq.github.io/DifferentialEquations.jl/latest/ |
Interesting - I'm having a similar issue but am using native HTML rendering. @ChrisRackauckas, is there some secret sauce you're using? |
Nothing special. But it is really sensitive to the tab spacing of the next line for multiline text. |
I see the same problem on Bio.jl. Nested lists are broken after building docs. docs/make.jl: using Documenter, Bio
makedocs()
deploydocs(
deps = Deps.pip("mkdocs", "pygments", "mkdocs-biojulia"),
repo = "github.com/BioJulia/Bio.jl.git",
julia = "0.5",
osname = "linux",
) docs/src/index.md:
docs/build/index.md:
|
I guess this because Documenter.jl (or stdlib Here is how Python-Markdown mentions about 4-space rule and nested list items:
However, Markdown generated by julia> io = IOBuffer("""
- a
- b
- c
""");
julia> md = Markdown.parse(io)
• a
• b
• c
julia> println(md)
* a
* b
* c Notice that there are two spaces before I didn't dig into Documenter.jl internals but I suppose it uses stdlib See also: |
I'm doing a triage of open documenter issues and closing issues that are stale. If I've made a mistake, please re-open Closing because this seems like it was fixed at some point. Here's an example from the JuMP docs: You do have to make sure that the indentation is correct. I think there are a few other related open issues, so if I see them on my travels I'll link to them. |
See https://github.com/JuliaGraphs/LightGraphs.jl/blob/master/CONTRIBUTING.md - this is rendering as http://juliagraphs.github.io/LightGraphs.jl/latest/contributing/ - and if you scroll down to the "Development guidelines" section, you'll see that the list is not outdented after
as it is in the markdown.
The text was updated successfully, but these errors were encountered: