Hello,
Please, provide the following information and remove the useless parts.
Thanks in advance.
bug -> yes, I suppose
M-x markdown-toc-bug-report
markdown-toc - Please:
- Describe your problem with clarity and conciceness (cf. https://www.gnu.org/software/emacs/manual/html_node/emacs/Understanding-Bug-Reporting.html)
- Explicit your installation choice (melpa, marmalade, el-get, tarball, git clone...).
- Report the following message trace inside your issue.
System information:
- system-type: gnu/linux
- locale-coding-system: utf-8-unix
- emacs-version: GNU Emacs 28.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0)
of 2021-11-30
- markdown-mode path: /home/claus/.emacs.d/elpa/markdown-mode-20211022.55/markdown-mode.el
- markdown-toc version: 0.1.5
- markdown-toc path: /home/claus/.emacs.d/elpa/markdown-toc-20210905.738/markdown-toc.el
Expected behavior
What command did you use and what were you expecting?
markdown-toc-generate-toc, markdown-toc-refresh-toc, markdown-toc-generate-or-refresh-toc
Actual behavior
When running the command markdown-toc-generate-toc I get the error Wrong type argument: consp, nil with the following test-file:
PROJECT
========
# Heading #
## Sub-Heading ##
Blah blah.
# Another Heading #
Blah blah.
When I remove the second-level heading the toc is generated successfully.
PROJECT
========
# Heading #
Blah blah.
# Another Heading #
Blah blah.
Steps to reproduce the behavior
How can we try and reproduce?
See above, simple example mark-down code.
Thanks for sharing!
Cheers,
Hello,
Please, provide the following information and remove the useless parts.
Thanks in advance.
bug -> yes, I suppose
M-x markdown-toc-bug-report
Expected behavior
What command did you use and what were you expecting?
markdown-toc-generate-toc,markdown-toc-refresh-toc,markdown-toc-generate-or-refresh-tocActual behavior
When running the command
markdown-toc-generate-tocI get the errorWrong type argument: consp, nilwith the following test-file:When I remove the second-level heading the toc is generated successfully.
Steps to reproduce the behavior
How can we try and reproduce?
See above, simple example mark-down code.
Thanks for sharing!
Cheers,