-
Notifications
You must be signed in to change notification settings - Fork 143
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
problems displaying lists #39
Comments
Hey @kenjikyo Yeah, some colleagues of mine have face a similar issue sometimes but there wasn't a real reproducible test case so far. But I have to look into this. Regarding the numbers: It seems it interprets the first name abbreviations such as "F." as a new numbered list. Don't know why ^^ Will check. Thanks |
Regarding paragraphs in lists; these are Loose lists, which according to the CommonMark Spec:
One option for handling this is using CSS to remove the margins from the paragraphs within list items, for example: li p {
margin-top: 0;
margin-bottom: 0;
} |
Hey @fmigneault Sorry for the long delay but I just released 0.8.0. Could you please try to reproduce with the newest version? Thanks a lot |
I have version 0.8.0.4052 installed. |
Hey @fmigneault It is exactly as @stezmi stated. The result are loose lists with paragraphs because of the space between the list items. His CSS fix would be one to quickly apply for now. As the HTML Renderer is not actively developed anymore I will take a look on how to tackle it. Best |
I have tried the CSS proposition by @stezmi The 2nd issue of my first post (random numbers) is still present though. |
Hey @fmigneault The "numbering" issue is actually interpreting A., B., C. etc. would be a numbered list, therefore You can escape the dot signaling a list i.e. Best |
0.8.0 + the CSS two liner, solved the problem for loose and tight lists. Just a suggestion. In the "Options" dialog seems the CSS fragment is applied only to HTML export, not to the rendering inside Npp. Maybe just adding after "Custom CSS" the following "(used for internal rendering and HTML export)" could help. |
Hey @crystalfp Thanks for the hint. Best |
@nea wow well spotted about the numbering letter interpretation. I didn't think about that. Indeed resolved with escaping the characters. |
Glad to hear @fmigneault :) |
Using bullet lists sometimes causes issues as displayed in the following image:
(1) Bullets are 1 line above the corresponding paragraph text (ie: some '\n' added before the text?)
(2) Random numbers appear in before indented paragraphs or indented paragraphs with bullet list.
The text was updated successfully, but these errors were encountered: