Skip to content

Spacing around markdown links #60

Open

Description

@nate-double-u

It looks like there is space being added around links, causing some punctuation to be incorrectly spaced.

Using the Getting Started page to illustrate:

This code:
Screen Shot 2020-10-22 at 10 59 43 AM

Generates this output:
Screen Shot 2020-10-22 at 10 59 56 AM

Moving the quotation marks outside the link
Screen Shot 2020-10-22 at 11 01 10 AM

Generates this output:
Screen Shot 2020-10-22 at 11 01 55 AM

I thought that maybe the link style was an issue, so I updated that too:
Screen Shot 2020-10-22 at 11 03 23 AM

But that generates the same output
Screen Shot 2020-10-22 at 11 03 53 AM

Lastly I thought maybe it was the italic:
Screen Shot 2020-10-22 at 11 04 45 AM

But removing it generates the same spacing issues as before.
Screen Shot 2020-10-22 at 11 05 26 AM

Probably this has to do with the styling somewhere, and I expect this issue is the underlying cause of these bugs issues:

Activity

  1. nate-double-u commented on Jul 26, 2021

    @nate-double-u
    ContributorAuthor

    There is a solution to this issue here: cncf/hugo-netlify-starter#93

  2. chalin commented on Jul 26, 2021

    @chalin

    FYI, you'll probably want to wait for cncf/hugo-netlify-starter#77 to be fixed before adopting the render-link hook used in the starter.

  3. chalin commented on Jul 27, 2021

    @chalin

    FYI, you'll probably want to wait for cncf/hugo-netlify-starter#77 to be fixed before adopting the render-link hook used in the starter.

    The fix has landed.

  4. nabokihms commented on Apr 13, 2024

    @nabokihms
    Member

    We migrated to Docsy. There is probably no issue anymore. At least all previously found bugs are now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions