I would like to have a double nested list in Makrdown Fill mode. For this I write in my markdown file
* item 1 * item 1.1: * item 1.1.1 * item 1.1.2 Now I would like to add an * item 1.2: which should be aligned with * item 1.1:. However, emacs allows me, using tab, just the two positions, either:
* item 1 * item 1.1: * item 1.1.1 * item 1.1.2 * item 1.2 or
* item 1 * item 1.1: * item 1.1.1 * item 1.1.2 * item 1.2 I would need to use spaces, but that doesn't make sense in my opinion. Why is emacs not allowing me to align them properly, i.e. leave the right indentation out?
* item 1.2in your example. To fix this will require providing markdown-mode with a more intelligent indentation function, or borrowing something from another mode. you can contact the maintainers directly: github.com/jrblevin/markdown-modemarkdown-modeno longer usesindent-relative, but rather a customizable indentation function (markdown-indent-line, by default) which calculates indentation in context. I do see thatindent-relativeis mentioned in a docstring, so apologies for that. It's out of date and I'll update it.markdown-modefollows Markdown.pl, so if you indent lists by four spaces, or if you letmarkdown-modehandle the indentation for you (withC-uorC-u C-uprefixes) from the start, then it will work out as expected.