Skip to content

more markdig fixes - #6861

Merged
BillWagner merged 2 commits into
dotnet:masterfrom
BillWagner:markdig-table-update
Aug 7, 2018
Merged

BillWagner merged 2 commits into
dotnet:masterfrom
BillWagner:markdig-table-update

Conversation

@BillWagner

Copy link
Copy Markdown
Member

Also for #6581

Move code out of the markdown table.

Also for #6581

Move code out of the markdown table.

@mairaw mairaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but left a few comments for you to consider

|Declaration statements|A declaration statement introduces a new variable or constant. A variable declaration can optionally assign a value to the variable. In a constant declaration, the assignment is required.<br /><br /> [!code-csharp[csProgGuideStatements#23](../../../csharp/programming-guide/classes-and-structs/codesnippet/CSharp/statements_2.cs)]|
|Expression statements|Expression statements that calculate a value must store the value in a variable.<br /><br /> [!code-csharp[csProgGuideStatements#24](../../../csharp/programming-guide/classes-and-structs/codesnippet/CSharp/statements_3.cs)]|
|Declaration statements|A declaration statement introduces a new variable or constant. A variable declaration can optionally assign a value to the variable. In a constant declaration, the assignment is required. See [Declaration Statements](#declaration-statements) for examples.|
|[Expression statements](expressions.md)|Expression statements that calculate a value must store the value in a variable. See [Expression Statements](#expression-statements) for more information.|

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: boilerplate text is "For more information, see xyz."

|--------------|---------------------------|
|Declaration statements|A declaration statement introduces a new variable or constant. A variable declaration can optionally assign a value to the variable. In a constant declaration, the assignment is required.<br /><br /> [!code-csharp[csProgGuideStatements#23](../../../csharp/programming-guide/classes-and-structs/codesnippet/CSharp/statements_2.cs)]|
|Expression statements|Expression statements that calculate a value must store the value in a variable.<br /><br /> [!code-csharp[csProgGuideStatements#24](../../../csharp/programming-guide/classes-and-structs/codesnippet/CSharp/statements_3.cs)]|
|Declaration statements|A declaration statement introduces a new variable or constant. A variable declaration can optionally assign a value to the variable. In a constant declaration, the assignment is required. See [Declaration Statements](#declaration-statements) for examples.|

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add link to subsection from the 1st cell?

|The empty statement|The empty statement consists of a single semicolon. It does nothing and can be used in places where a statement is required but no action needs to be performed. The following examples show two uses for an empty statement:<br /><br /> [!code-csharp[csProgGuideStatements#25](../../../csharp/programming-guide/classes-and-structs/codesnippet/CSharp/statements_4.cs)]|

## Embedded Statements
|The empty statement|The empty statement consists of a single semicolon. It does nothing and can be used in places where a statement is required but no action needs to be performed. For examples, see [the empty statement](#the-empty-statement).|

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto. add link to the new subsection from the 1st cell?

@BillWagner BillWagner self-assigned this Aug 7, 2018
@BillWagner
BillWagner merged commit 5fe7dd6 into dotnet:master Aug 7, 2018
@BillWagner
BillWagner deleted the markdig-table-update branch August 7, 2018 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants