Skip to content

Add button to insert summary #1670

Closed

Description

@hexylena

When I'm submitting issues I often find that I have the need to paste some long stack trace in, and I always forget the syntax for doing it! It would be really nice if the github issue/comment field could be modified to include a button to insert a snippet for that, next to the bold/italic/insert comment/quote/link buttons :)

The syntax is

<details>
  <summary>Some text</summary>
  then here is some long text you want to hide
</details>

Which renders like this, if you haven't used it before:

Some text then here is some long text you want to hide

Activity

  1. changed the title [-]Feature request: add button to insert summary[/-] [+]Add button to insert summary[/+] on Dec 15, 2018
  2. sindresorhus commented on Feb 14, 2019

    @sindresorhus
    Member

    👍 PR welcome :)


    For anyone that wants this, please also send this feature request to GitHub: [email protected]

  3. added a commit that references this issue on Mar 3, 2019
    547795c
  4. hexylena commented on Mar 3, 2019

    @hexylena
    Author

    Wow, thanks @doms! Great work!

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

      Issue actions