Skip to content

Missing backtick screwing up formatting #18709

Closed

Description

@nlehnert1

Missing a back-tick ` in your markdown for the last code snippet on this page. You can tell it's intended to be closed after the double back-ticks, but instead the code block ends up continuing until
it is closed properly after the ICitizen bit. I assume the markdown looks something like this:

```csharp
string IEmployee.this[int index]
{
}
``

implements the indexer on the IEmployee interface, while the following declaration:

```csharp
string ICitizen.this[int index]
{
}
```

EDIT: Sorry, it's hard to format this when markdown is supported in comments too :(


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. svick commented on May 30, 2020

    @svick
    Member

    Do you want to submit a Pull Request that fixes that? For simple changes like this one, you can do it all from your browser (and if you don't know how to do that, you can follow this guide).

    Sorry, it's hard to format this when markdown is supported in comments too :(

    You can use 4 backticks for that. This:

    ````
    ```csharp
    string ICitizen.this[int index]
    {
    }
    ```
    ````
    

    renders as:

    ```csharp
    string ICitizen.this[int index]
    {
    }
    ```
    
  2. added
    help wanted
    and removed
    ⌚ Not Triaged
    on Jun 1, 2020
  3. IEvangelist commented on Jun 1, 2020

    @IEvangelist
    Member

    Hi @nlehnert1, I made this up-for-grabs. Please feel free to follow the guidance for simple updates like this. Thank you @svick for helping out here too, much appreciated.

  4. self-assigned this
    on Jun 1, 2020
  5. nlehnert1 commented on Jun 1, 2020

    @nlehnert1
    ContributorAuthor

    Apologies; I got very much wrapped up in the events of this weekend and totally forgot about this until just now. Created a PR and linked it to this issue.

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

Metadata

Metadata

Assignees

Labels

dotnet-csharp/svchelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions