Skip to content

Format first line of footnote definitions empty #1

Closed
@wooorm

Description

@wooorm
Member

Initial checklist

  • I read the support docs
    I read the contributing guide
    I agree to follow the code of conduct
    I searched issues and couldn’t find anything (or linked relevant results below)

Problem

The first line of footnote definitions has some confusing properties:

For example, Mercury[^mercury], Venus[^venus], and Earth[^Earth].

[^Mercury]: **Mercury** is the first planet from the Sun and the smallest
     in the Solar System.

[^Venus]: > (block quote) **Venus** is the second planet from
    the Sun.

[^Earth]:         (does indented code work here?) **Earth** is the third planet
        from the Sun and the only astronomical object known to harbor life.

Yields:

For example, Mercury1, Venus2, and Earth3.

Solution

Format first line empty:

For example, Mercury[^mercury], Venus[^venus], and Earth[^Earth].

[^Mercury]:
    **Mercury** is the first planet from the Sun and the smallest
    in the Solar System.

[^Venus]:
    > (block quote) **Venus** is the second planet from
    > the Sun.

[^Earth]:
        (does indented code work here?) **Earth** is the third planet
        from the Sun and the only astronomical object known to harbor life.

Alternatives

.

Footnotes

  1. Mercury is the first planet from the Sun and the smallest
    in the Solar System.

  2. (block quote) Venus is the second planet from
    the Sun.

  3. (does indented code work here?) Earth is the third planet
    from the Sun and the only astronomical object known to harbor life.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wooorm

        Issue actions

          Format first line of footnote definitions empty · Issue #1 · syntax-tree/mdast-util-gfm-footnote