Starting with a plain text document (markdown), I'm trying to create a CSS file that will correctly interpret the ordered list in the .md file with APA-style outlining.
Here's an excerpt of the CSS code:
ol {list-style-type: upper-roman;
}
ol ol {list-style-type: upper-alpha;
}
ol ol ol {list-style-type: decimal;
}
ol ol ol ol {list-style-type: lower-roman;
}
ol ol ol ol ol {list-style-type: upper-roman;
}
ol ol ol ol ol ol {list-style-type: disc;
}
What I get is hard to reproduce in HTML so I uploaded this:
I've tried experimenting with the counter-increment and counter-reset elements but have had no luck. Been studying this old post but haven't got it right yet. Do I need to alternate ul with ol, or ol with li?
EDIT: Adding the web inspector view for clarification.
EDIT 2: Markdown Source File Contents:
- This
- Is
- An
- Example
- Of an
- Outline Behaving
- Badly
Currently using Obsidian (in beta) to render the markdown text and have been using various CSS sheets, including the default. Other users have been unable to reproduce the issue so it's something on my machine apparently. I don't know which markdown language I'm using, I'm thinking it's basic and not multimarkdown. The Obsidian app has some built-in CSS but the user's CSS file should override it.
I can withdraw the question, just looking for ideas. Should I paste the whole CSS file?
– yinsweet May 26 '20 at 00:40