nicoulaj / idea-markdown

Markdown language support for IntelliJ IDEA (abandonned).
Apache License 2.0
600 stars 97 forks source link

Nested lists render incorrectly in Preview tab #169

Open chronodm opened 10 years ago

chronodm commented 10 years ago

To reproduce, create a Markdown file with the following content:

1. item 1
  - nested item
  - nested item
1. item 2

From the command line, run markdown against it and note the nested lists in the HTML:

$ markdown test.md
<ol>
<li>item 1
<ul>
<li>nested item</li>
<li>nested item</li>
</ul></li>
<li>item 2</li>
</ol>

Expected (from browser):

screenshot-1

Actual (from Preview tab):

screenshot-2

chronodm commented 10 years ago

Looks like it works if you indent the nested list 4 spaces, cf. pandoc issue 229. Maybe just document it as a known issue?

JaSpr commented 10 years ago

additionally tyhe following style list is broken in idea-markdown:

.
+-- Gruntfile.js - Stores the instructions for grunt build
+-- package.json - Stores the list of packages for NPM to download
+-- bower.json   - Stores the list of packages for Bower to download
+-- src/
|   +-- index.hbs - main handlebars wrapper (can accept php)
|   +-- templates/ - all handlebars templates for use in game, except index.hbs
|   +-- assets/
|   |   +-- scripts/ - TypeScript source files
|   |   +-- scss/ - Sass source files
|   |   +-- media/ - image/audio source files
|   |   +-- vendor/ - JS files provided by bower
|   |   +-- data/toJavaScript
|   |   |   +-- matchingGameText.json - All game copy divided by promotion stage and page
|   |   |   +-- * (other files) - instructions for animations (frame by frame)
nicoulaj commented 8 years ago

Notice: This plugin is no more maintained and it has been removed from Jetbrains plugins repository. There is a Markdown plugin officially supported by Jetbrains.