Skip to content
This repository was archived by the owner on Dec 7, 2017. It is now read-only.
This repository was archived by the owner on Dec 7, 2017. It is now read-only.

toc adds extra newlines each time it is run #4

@RichardBradley

Description

@RichardBradley

I have found that toc adds extra newlines to my README each time it is run.
This means that I can't add it as a build step.

I think that running toc multiple times on the same file should not result in any changes, i.e. it should be idempotent.

Repro at https://gist.github.com/RichardBradley/a72c644e0e09eb501f1f

(Incorrectly raised at jonschlinkert/markdown-toc#34 )

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