Skip to content

Code spans contained in headings lead to errors and are discarded from the output #1

@dbitouze

Description

@dbitouze

Hi,

thanks for your useful tool!

AIFAICS, it is subject to the following bug: code spans contained in headings lead to errors and are discarded from the output, as shown by the following (non working) example (say test.md) :

# What are `.md` files? #

which, when processed as:

./summarizeMD test.md

leads to the error:

sh: line 5: .md : command not found

and the following summarized_test.md output file:

#Summary 

  - [What are  files?](#section-id-1)



<div id='section-id-1'/>

# What are `.md` files? #

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions