Skip to content

This adds a new blank line into the README every run #39

@b-

Description

@b-

I use this action to generate and add thumbnails to my (possibly very mildly nsfw) discord-emojis repository README, and I've noticed that the number of blank lines in between the last line of the README and the first line of the thumbnails keeps increasing…

Functionally speaking this makes no real difference, because the Markdown repeated newlines into one. But when I noticed this updating the README it just seemed a little bit silly to me, lol.

I haven't looked at the code yet, but maybe the fix is really simple… but if it isn't, one thought might be to use a placeholder HTML comment (e.g., <!-- begin dynamically-generated thumbnails >), and then search the file for that comment and replace it and every subsequent line if found -- that would probably prevent adding extra newlines! (And would also make it clear inside the README what's human-written vs what's coming from the code).

Thoughts?

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