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 strips newline from end of file #3

@RichardBradley

Description

@RichardBradley

Traditionally, text files should end with a newline char.

The toc command strips the trailing newline from a README which has one.

I think that toc should either not change the presence or absence of a trailing newline, or if it does want to take an opinion on this issue, it should add one rather than remove one.

(incorrectly raised at jonschlinkert/markdown-toc#35 )

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