Skip to content
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

list cleaning changes display #16

Open
yocontra opened this issue Aug 3, 2015 · 7 comments
Open

list cleaning changes display #16

yocontra opened this issue Aug 3, 2015 · 7 comments

Comments

@yocontra
Copy link

yocontra commented Aug 3, 2015

Given:

- Possible options for the first argument:
  - adapter
    - defaults to `wildfire.adapters.Memory`
  - httpServer
    - defaults to creating a new http server
    - if this option is not provided, you must call `.listen()`

this will change it to

- Possible options for the first argument:
  - adapter
    - defaults to `wildfire.adapters.Memory`

  - httpServer
    - defaults to creating a new http server
    - if this option is not provided, you must call `.listen()`

which displays differently (adds a bunch of space between items)

@yocontra
Copy link
Author

yocontra commented Aug 3, 2015

Hmm might not be this plugin, I disabled it and this is still happening. This is a 100% fresh install with no other plugins installed. wat?

@hwroitzsch
Copy link

It is definitely this plugin. I have no others which do markdown formatting and when I installed this one today, the same started happening to me. The main issue here is, that it only indents by 2 spaces instead of 4 or a tab. I am not sure what the specification says about the amount of spaces needed for indention of a sublist, but when I compile a markdown file formatted by this plugin using pandoc, sublists are no sublists, but regular list items. When I manually increase the indention to 4 spaces or a tab (which is easier anyway) the resulting PDF file is correct, meaning that there are sublists.

@hwroitzsch
Copy link

There is also an issue with numbered lists, which under circumstances can suddenly become unordered lists, when the cleaning happens.

@derekwolfson
Copy link

I also have this problem. Really make's this plugin unusable for me.

@Senci
Copy link

Senci commented Feb 25, 2016

Oh, there already is an issue for that... so +1 ;)

@notslang
Copy link
Owner

@hwroitzsch - the markdown spec is very loose when it comes to indentation. 2 spaces is fine, tabs are fine, 4 spaces are fine... etc. I'm not sure what pandoc is getting wrong (though I'd be happy to help you debug if you post the command you used & contents of the file).

As for the issue with numbered lists, I think you're talking about this issue: notslang/tidy-markdown#11

@hwroitzsch
Copy link

@slang800 - Sorry, it was some time ago, I don't know anymore what was the exact command I used. I'd guess however, that I didn't use any of Pandoc's extensions back then and used some pandoc template. So the command was probably something like this:
pandoc --read=markdown --table-of-contents --toc-depth=2 --preserve-tabs --latex-engine=xelatex --standalone --template=template.tex inputfile.md -o outputfile.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants