Bot-docs: Incorrect Formatting in Deployment Docs

Created on 15 Aug 2019  路  6Comments  路  Source: MicrosoftDocs/bot-docs

In this section, we have this note that could use a formatting fix:

image

I would submit the PR myself, but I was the one who submitted the original PR for this and it appears I don't know how to format this correctly. This is what I see in the .md file:

image

...which looks like it should work, but does not. Note: We should also remove the semicolon at the end of the command

If you could point out where my formatting went wrong for the docs, I'd appreciate it so I don't make the same mistake in future PRs.

issue type incorrect content other

Most helpful comment

@mdrichardson
FYI, when it's in the Note box, you can use ' ' instead of ``` wrapping your command.

Is this helpful?

All 6 comments

Hi @mdrichardson, it seems like the command wasn't encased in back quotes (` character), so it didn't show up as a code block (described further in detail in this cheatsheet).

I've reformatted that section, you can see the changes in PR 1660.

@emgrol Aha! That wasn't the change that I submitted...No worries. Probably just lost in translation during the merge from public to private repo.

@mdrichardson
FYI, when it's in the Note box, you can use ' ' instead of ``` wrapping your command.

Is this helpful?

@mdrichardson, @zxyanliu makes a good point, and I think I found the main issue with your note (which I want to keep as you've formatted it since having the copy button with it makes it easier for the reader)

Tips, notes, warnings, etc. need to be on their own line. When I tried building with your snippet I kept getting a warning about there being an invalid string in the first line of the note. So the note should look like this:
> [!NOTE]
> all of the note's content goes here
> and on following lines if need be

You can see PR 1663 to see how I reformatted the note.

@emgrol Makes sense. Good to know!

Closing this now that the formatting is correct, changes will go live tonight.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emgrol picture emgrol  路  4Comments

pkirch picture pkirch  路  4Comments

montacerdk picture montacerdk  路  5Comments

blueelvis picture blueelvis  路  6Comments

hansmbakker picture hansmbakker  路  7Comments