From 6484fda288b60f791500dcbf51c4694ce6322201 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 6 Jan 2024 10:34:29 +0800 Subject: [PATCH] build(deps): bump bootstrap-icons from 1.11.2 to 1.11.3 in /templates (#9581) * build(deps): bump bootstrap-icons from 1.11.2 to 1.11.3 in /templates Bumps [bootstrap-icons](https://github.com/twbs/icons) from 1.11.2 to 1.11.3. - [Release notes](https://github.com/twbs/icons/releases) - [Commits](https://github.com/twbs/icons/compare/v1.11.2...v1.11.3) --- updated-dependencies: - dependency-name: bootstrap-icons dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * test(snapshot): update snapshots 6595a99a52935aebe43e74e1d525b265f18bfe09 for ubuntu-latest * test(snapshot): update snapshots 6595a99a52935aebe43e74e1d525b265f18bfe09 for windows-latest --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] --- templates/package-lock.json | 14 ++++----- templates/package.json | 2 +- .../articles/markdown.html.view.verified.json | 4 +-- .../articles/seed.pdf.verified.json | 14 ++++----- .../index.verified.json | 2 +- .../pdf/toc.pdf.verified.json | 14 ++++----- .../articles/markdown.html.view.verified.json | 4 +-- .../articles/seed.pdf.verified.json | 29 +++++++++---------- .../index.verified.json | 2 +- .../pdf/toc.pdf.verified.json | 29 +++++++++---------- ...ypescript-markdown-extensions.verified.png | 4 +-- ...ypescript-markdown-extensions.verified.png | 4 +-- ...pescript-markdown-extensions.verified.html | 8 ++--- 13 files changed, 64 insertions(+), 66 deletions(-) diff --git a/templates/package-lock.json b/templates/package-lock.json index c4ba3e1ae79..82d44027d7d 100644 --- a/templates/package-lock.json +++ b/templates/package-lock.json @@ -19,7 +19,7 @@ "@websanova/url": "^2.6.3", "anchor-js": "^5.0.0", "bootstrap": "^5.3.2", - "bootstrap-icons": "^1.11.2", + "bootstrap-icons": "^1.11.3", "highlight.js": "^11.9.0", "idb-keyval": "^6.2.1", "jquery": "3.7.0", @@ -2888,9 +2888,9 @@ } }, "node_modules/bootstrap-icons": { - "version": "1.11.2", - "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.11.2.tgz", - "integrity": "sha512-TgdiPv+IM9tgDb+dsxrnGIyocsk85d2M7T0qIgkvPedZeoZfyeG/j+yiAE4uHCEayKef2RP05ahQ0/e9Sv75Wg==", + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.11.3.tgz", + "integrity": "sha512-+3lpHrCw/it2/7lBL15VR0HEumaBss0+f/Lb6ZvHISn1mlK83jjFpooTLsMWbIjJMDjDjOExMsTxnXSIT4k4ww==", "funding": [ { "type": "github", @@ -12290,9 +12290,9 @@ "requires": {} }, "bootstrap-icons": { - "version": "1.11.2", - "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.11.2.tgz", - "integrity": "sha512-TgdiPv+IM9tgDb+dsxrnGIyocsk85d2M7T0qIgkvPedZeoZfyeG/j+yiAE4uHCEayKef2RP05ahQ0/e9Sv75Wg==" + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.11.3.tgz", + "integrity": "sha512-+3lpHrCw/it2/7lBL15VR0HEumaBss0+f/Lb6ZvHISn1mlK83jjFpooTLsMWbIjJMDjDjOExMsTxnXSIT4k4ww==" }, "brace-expansion": { "version": "1.1.11", diff --git a/templates/package.json b/templates/package.json index 2cf7a228722..b67945f64bf 100644 --- a/templates/package.json +++ b/templates/package.json @@ -28,7 +28,7 @@ "@websanova/url": "^2.6.3", "anchor-js": "^5.0.0", "bootstrap": "^5.3.2", - "bootstrap-icons": "^1.11.2", + "bootstrap-icons": "^1.11.3", "highlight.js": "^11.9.0", "idb-keyval": "^6.2.1", "jquery": "3.7.0", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/articles/markdown.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/articles/markdown.html.view.verified.json index 031cf1dc26b..74ff11a061a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/articles/markdown.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/articles/markdown.html.view.verified.json @@ -1,5 +1,5 @@ { - "conceptual": "\n

Markdown is a lightweight markup language with plain text formatting syntax. Docfx supports CommonMark compliant Markdown parsed through the Markdig parsing engine.

\n

Link to Math Expressions

\n

Block Quotes

\n
\n

This is a block quote.

\n
\n

Alerts

\n
\n
Note
\n

Information the user should notice even if skimming.

\n
\n
\n
Tip
\n

Optional information to help a user be more successful.

\n
\n
\n
Important
\n

Essential information required for user success.

\n
\n
\n
Caution
\n

Negative potential consequences of an action.

\n
\n
\n
Warning
\n

Dangerous certain consequences of an action.

\n
\n
\n
MY TODO
\n

This is a TODO.

\n
\n

Image

\n

\"alt-text\"

\n

Mermaid Diagrams

\n

Flowchart

\n
flowchart LR\n\nA[Hard] -->|Text| B(Round)\nB --> C{Decision}\nC -->|One| D[Result 1]\nC -->|Two| E[Result 2]\n
\n

Code Snippet

\n

The example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.

\n
using System;\nusing Azure;\nusing Azure.Storage;\nusing Azure.Storage.Blobs;\n\nclass Program\n{\n    static void Main(string[] args)\n    {\n        // Define the connection string for the storage account\n        string connectionString = "DefaultEndpointsProtocol=https;AccountName=<your-account-name>;AccountKey=<your-account-key>;EndpointSuffix=core.windows.net";\n\n        // Create a new BlobServiceClient using the connection string\n        var blobServiceClient = new BlobServiceClient(connectionString);\n\n        // Create a new container\n        var container = blobServiceClient.CreateBlobContainer("mycontainer");\n\n        // Upload a file to the container\n        using (var fileStream = File.OpenRead("path/to/file.txt"))\n        {\n            container.UploadBlob("file.txt", fileStream);\n        }\n\n        // Download the file from the container\n        var downloadedBlob = container.GetBlobClient("file.txt").Download();\n        using (var fileStream = File.OpenWrite("path/to/downloaded-file.txt"))\n        {\n            downloadedBlob.Value.Content.CopyTo(fileStream);\n        }\n    }\n}\n

Math Expressions

\n

This sentence uses $ delimiters to show math inline: \\(\\sqrt{3x-1}+(1+x)^2\\)

\n

The Cauchy-Schwarz Inequality

\n

\\(\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\\)

\n

This expression uses \\$ to display a dollar sign: \\(\\sqrt{\\$4}\\)

\n

To split $100 in half, we calculate \\(100/2\\)

\n

Custom Syntax Highlighting

\n
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = {\n  name: 'hello'\n  // (...)\n}\n
\n

Tabs

\n
\n\n
\n\n

Content for Linux...

\n
\n\n
\n\n

The above tab group was created with the following syntax:

\n
# [Linux](#tab/linux)\n\nContent for Linux...\n\n# [Windows](#tab/windows)\n\nContent for Windows...\n\n---\n
\n

Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be described as follows:

\n
# [Tab Display Name](#tab/tab-id)\n
\n

A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link will become the text of the tab header, displayed to the customer. In order for the header to be recognized as a tab, the link itself must start with #tab/ and be followed by an ID representing the content of the tab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a user selects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.

\n

Dependent tabs

\n

It's possible to make the selection in one set of tabs dependent on the selection in another set of tabs. Here's an example of that in action:

\n
\n\n
\n\n

.NET content for Linux...

\n
\n\n\n\n\n
\n\n

Notice how changing the Linux/Windows selection above changes the content in the .NET and TypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, where the Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's the markup that shows how this is done:

\n
# [.NET](#tab/dotnet/linux)\n\n.NET content for Linux...\n\n# [.NET](#tab/dotnet/windows)\n\n.NET content for Windows...\n\n# [TypeScript](#tab/typescript/linux)\n\nTypeScript content for Linux...\n\n# [TypeScript](#tab/typescript/windows)\n\nTypeScript content for Windows...\n\n# [REST API](#tab/rest)\n\nREST API content, independent of platform...\n\n---\n
\n

Details

\n
\nDemo\n
root@server# apt-get install nano\n
\n
\n", + "conceptual": "\n

Markdown is a lightweight markup language with plain text formatting syntax. Docfx supports CommonMark compliant Markdown parsed through the Markdig parsing engine.

\n

Link to Math Expressions

\n

Block Quotes

\n
\n

This is a block quote.

\n
\n

Alerts

\n
\n
Note
\n

Information the user should notice even if skimming.

\n
\n
\n
Tip
\n

Optional information to help a user be more successful.

\n
\n
\n
Important
\n

Essential information required for user success.

\n
\n
\n
Caution
\n

Negative potential consequences of an action.

\n
\n
\n
Warning
\n

Dangerous certain consequences of an action.

\n
\n
\n

[!TODO]\nThis is a TODO.

\n
\n

Image

\n

\"alt-text\"

\n

Mermaid Diagrams

\n

Flowchart

\n
flowchart LR\n\nA[Hard] -->|Text| B(Round)\nB --> C{Decision}\nC -->|One| D[Result 1]\nC -->|Two| E[Result 2]\n
\n

Code Snippet

\n

The example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.

\n
using System;\nusing Azure;\nusing Azure.Storage;\nusing Azure.Storage.Blobs;\n\nclass Program\n{\n    static void Main(string[] args)\n    {\n        // Define the connection string for the storage account\n        string connectionString = "DefaultEndpointsProtocol=https;AccountName=<your-account-name>;AccountKey=<your-account-key>;EndpointSuffix=core.windows.net";\n\n        // Create a new BlobServiceClient using the connection string\n        var blobServiceClient = new BlobServiceClient(connectionString);\n\n        // Create a new container\n        var container = blobServiceClient.CreateBlobContainer("mycontainer");\n\n        // Upload a file to the container\n        using (var fileStream = File.OpenRead("path/to/file.txt"))\n        {\n            container.UploadBlob("file.txt", fileStream);\n        }\n\n        // Download the file from the container\n        var downloadedBlob = container.GetBlobClient("file.txt").Download();\n        using (var fileStream = File.OpenWrite("path/to/downloaded-file.txt"))\n        {\n            downloadedBlob.Value.Content.CopyTo(fileStream);\n        }\n    }\n}\n

Math Expressions

\n

This sentence uses $ delimiters to show math inline: \\(\\sqrt{3x-1}+(1+x)^2\\)

\n

The Cauchy-Schwarz Inequality

\n

\\(\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\\)

\n

This expression uses \\$ to display a dollar sign: \\(\\sqrt{\\$4}\\)

\n

To split $100 in half, we calculate \\(100/2\\)

\n

Custom Syntax Highlighting

\n
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = {\n  name: 'hello'\n  // (...)\n}\n
\n

Tabs

\n
\n\n
\n\n

Content for Linux...

\n
\n\n
\n\n

The above tab group was created with the following syntax:

\n
# [Linux](#tab/linux)\n\nContent for Linux...\n\n# [Windows](#tab/windows)\n\nContent for Windows...\n\n---\n
\n

Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be described as follows:

\n
# [Tab Display Name](#tab/tab-id)\n
\n

A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link will become the text of the tab header, displayed to the customer. In order for the header to be recognized as a tab, the link itself must start with #tab/ and be followed by an ID representing the content of the tab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a user selects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.

\n

Dependent tabs

\n

It's possible to make the selection in one set of tabs dependent on the selection in another set of tabs. Here's an example of that in action:

\n
\n\n
\n\n

.NET content for Linux...

\n
\n\n\n\n\n
\n\n

Notice how changing the Linux/Windows selection above changes the content in the .NET and TypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, where the Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's the markup that shows how this is done:

\n
# [.NET](#tab/dotnet/linux)\n\n.NET content for Linux...\n\n# [.NET](#tab/dotnet/windows)\n\n.NET content for Windows...\n\n# [TypeScript](#tab/typescript/linux)\n\nTypeScript content for Linux...\n\n# [TypeScript](#tab/typescript/windows)\n\nTypeScript content for Windows...\n\n# [REST API](#tab/rest)\n\nREST API content, independent of platform...\n\n---\n
\n

Details

\n
\nDemo\n
root@server# apt-get install nano\n
\n
\n", "type": "Conceptual", "source": { "remote": { @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

Markdown

", "title": "Markdown", - "wordCount": 587.0, + "wordCount": 586.0, "_key": "articles/markdown.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/articles/seed.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/articles/seed.pdf.verified.json index 76ef8a3510b..9962e21d60e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/articles/seed.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/articles/seed.pdf.verified.json @@ -221,7 +221,7 @@ "PageNumber": 17, "Coordinates": { "Left": 28, - "Top": 211.24994 + "Top": 284.75006 } } } @@ -230,7 +230,7 @@ { "Number": 16, "NumberOfImages": 1, - "Text": "16 / 19ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.MY TODOThis is a TODO.TextOneTwoHardRoundDecisionResult 1Result 2", + "Text": "16 / 19[!TODO] This is a TODO.ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.TextOneTwoHardRoundDecisionResult 1Result 2using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;", "Links": [ { "Uri": "https://learn.microsoft.com/en-us/media/learn/not-found/learn-not-found-light-mode.png?branch=main" @@ -242,19 +242,19 @@ }, { "Number": 17, - "Text": "17 / 19Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", + "Text": "17 / 19Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate Custom Syntax Highlightingclass Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", "Links": [] }, { "Number": 18, - "Text": "18 / 19Custom Syntax HighlightingTabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax canbe described as follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The textof the link will become the text of the tab header, displayed to the customer. In order forthe header to be recognized as a tab, the link itself must start with #tab/ and be followedby an ID representing the content of the tab. The ID is used to sync all same-ID tabs acrossthe page. Using the above example, when a user selects a tab with the link #tab/windows, alltabs with the link #tab/windows on the page will be selected.Dependent tabsresource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", + "Text": "18 / 19TabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax canbe described as follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The textof the link will become the text of the tab header, displayed to the customer. In order forthe header to be recognized as a tab, the link itself must start with #tab/ and be followedby an ID representing the content of the tab. The ID is used to sync all same-ID tabs acrossthe page. Using the above example, when a user selects a tab with the link #tab/windows, alltabs with the link #tab/windows on the page will be selected.Dependent tabsIt's possible to make the selection in one set of tabs dependent on the selection in anotherset of tabs. Here's an example of that in action:resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", "Links": [ { "Goto": { "PageNumber": 18, "Coordinates": { "Left": 28, - "Top": 574.99994 + "Top": 605.74994 } } } @@ -262,14 +262,14 @@ }, { "Number": 19, - "Text": "19 / 19It's possible to make the selection in one set of tabs dependent on the selection in anotherset of tabs. Here's an example of that in action:.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NETand TypeScript tabs. This is because the tab group defines two versions for each .NET andTypeScript, where the Windows/Linux selection above determines which version is shownfor .NET/TypeScript. Here's the markup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", + "Text": "19 / 19.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NETand TypeScript tabs. This is because the tab group defines two versions for each .NET andTypeScript, where the Windows/Linux selection above determines which version is shownfor .NET/TypeScript. Here's the markup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", "Links": [ { "Goto": { "PageNumber": 19, "Coordinates": { "Left": 28, - "Top": 684.49994 + "Top": 732.49994 } } } diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/index.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/index.verified.json index 9fd745f5255..658fc19d59f 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/index.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/index.verified.json @@ -557,7 +557,7 @@ "articles/markdown.html": { "href": "articles/markdown.html", "title": "Markdown | docfx seed website", - "keywords": "Markdown Markdown is a lightweight markup language with plain text formatting syntax. Docfx supports CommonMark compliant Markdown parsed through the Markdig parsing engine. Link to Math Expressions Block Quotes This is a block quote. Alerts Note Information the user should notice even if skimming. Tip Optional information to help a user be more successful. Important Essential information required for user success. Caution Negative potential consequences of an action. Warning Dangerous certain consequences of an action. MY TODO This is a TODO. Image Mermaid Diagrams Flowchart flowchart LR A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2] Code Snippet The example highlights lines 2, line 5 to 7 and lines 9 to the end of the file. using System; using Azure; using Azure.Storage; using Azure.Storage.Blobs; class Program { static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } } } Math Expressions This sentence uses $ delimiters to show math inline: \\(\\sqrt{3x-1}+(1+x)^2\\) The Cauchy-Schwarz Inequality \\(\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\\) This expression uses \\$ to display a dollar sign: \\(\\sqrt{\\$4}\\) To split $100 in half, we calculate \\(100/2\\) Custom Syntax Highlighting resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...) } Tabs Linux Windows Content for Linux... Content for Windows... The above tab group was created with the following syntax: # [Linux](#tab/linux) Content for Linux... # [Windows](#tab/windows) Content for Windows... --- Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be described as follows: # [Tab Display Name](#tab/tab-id) A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link will become the text of the tab header, displayed to the customer. In order for the header to be recognized as a tab, the link itself must start with #tab/ and be followed by an ID representing the content of the tab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a user selects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected. Dependent tabs It's possible to make the selection in one set of tabs dependent on the selection in another set of tabs. Here's an example of that in action: .NET .NET TypeScript TypeScript REST API .NET content for Linux... .NET content for Windows... TypeScript content for Linux... TypeScript content for Windows... REST API content, independent of platform... flowchart LR A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2] Notice how changing the Linux/Windows selection above changes the content in the .NET and TypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, where the Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's the markup that shows how this is done: # [.NET](#tab/dotnet/linux) .NET content for Linux... # [.NET](#tab/dotnet/windows) .NET content for Windows... # [TypeScript](#tab/typescript/linux) TypeScript content for Linux... # [TypeScript](#tab/typescript/windows) TypeScript content for Windows... # [REST API](#tab/rest) REST API content, independent of platform... --- Details Demo root@server# apt-get install nano" + "keywords": "Markdown Markdown is a lightweight markup language with plain text formatting syntax. Docfx supports CommonMark compliant Markdown parsed through the Markdig parsing engine. Link to Math Expressions Block Quotes This is a block quote. Alerts Note Information the user should notice even if skimming. Tip Optional information to help a user be more successful. Important Essential information required for user success. Caution Negative potential consequences of an action. Warning Dangerous certain consequences of an action. [!TODO] This is a TODO. Image Mermaid Diagrams Flowchart flowchart LR A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2] Code Snippet The example highlights lines 2, line 5 to 7 and lines 9 to the end of the file. using System; using Azure; using Azure.Storage; using Azure.Storage.Blobs; class Program { static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } } } Math Expressions This sentence uses $ delimiters to show math inline: \\(\\sqrt{3x-1}+(1+x)^2\\) The Cauchy-Schwarz Inequality \\(\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\\) This expression uses \\$ to display a dollar sign: \\(\\sqrt{\\$4}\\) To split $100 in half, we calculate \\(100/2\\) Custom Syntax Highlighting resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...) } Tabs Linux Windows Content for Linux... Content for Windows... The above tab group was created with the following syntax: # [Linux](#tab/linux) Content for Linux... # [Windows](#tab/windows) Content for Windows... --- Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be described as follows: # [Tab Display Name](#tab/tab-id) A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link will become the text of the tab header, displayed to the customer. In order for the header to be recognized as a tab, the link itself must start with #tab/ and be followed by an ID representing the content of the tab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a user selects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected. Dependent tabs It's possible to make the selection in one set of tabs dependent on the selection in another set of tabs. Here's an example of that in action: .NET .NET TypeScript TypeScript REST API .NET content for Linux... .NET content for Windows... TypeScript content for Linux... TypeScript content for Windows... REST API content, independent of platform... flowchart LR A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2] Notice how changing the Linux/Windows selection above changes the content in the .NET and TypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, where the Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's the markup that shows how this is done: # [.NET](#tab/dotnet/linux) .NET content for Linux... # [.NET](#tab/dotnet/windows) .NET content for Windows... # [TypeScript](#tab/typescript/linux) TypeScript content for Linux... # [TypeScript](#tab/typescript/windows) TypeScript content for Windows... # [REST API](#tab/rest) REST API content, independent of platform... --- Details Demo root@server# apt-get install nano" }, "index.html": { "href": "index.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/pdf/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/pdf/toc.pdf.verified.json index cfb5d3b3237..de8f74112b1 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/pdf/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Linux/pdf/toc.pdf.verified.json @@ -717,7 +717,7 @@ "PageNumber": 17, "Coordinates": { "Left": 28, - "Top": 211.24994 + "Top": 284.75006 } } } @@ -726,7 +726,7 @@ { "Number": 16, "NumberOfImages": 1, - "Text": "16 / 125ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.MY TODOThis is a TODO.TextOneTwoHardRoundDecisionResult 1Result 2", + "Text": "16 / 125[!TODO] This is a TODO.ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.TextOneTwoHardRoundDecisionResult 1Result 2using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;", "Links": [ { "Uri": "https://learn.microsoft.com/en-us/media/learn/not-found/learn-not-found-light-mode.png?branch=main" @@ -738,19 +738,19 @@ }, { "Number": 17, - "Text": "17 / 125Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", + "Text": "17 / 125Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate Custom Syntax Highlightingclass Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", "Links": [] }, { "Number": 18, - "Text": "18 / 125Custom Syntax HighlightingTabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax canbe described as follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The textof the link will become the text of the tab header, displayed to the customer. In order forthe header to be recognized as a tab, the link itself must start with #tab/ and be followedby an ID representing the content of the tab. The ID is used to sync all same-ID tabs acrossthe page. Using the above example, when a user selects a tab with the link #tab/windows, alltabs with the link #tab/windows on the page will be selected.Dependent tabsresource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", + "Text": "18 / 125TabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax canbe described as follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The textof the link will become the text of the tab header, displayed to the customer. In order forthe header to be recognized as a tab, the link itself must start with #tab/ and be followedby an ID representing the content of the tab. The ID is used to sync all same-ID tabs acrossthe page. Using the above example, when a user selects a tab with the link #tab/windows, alltabs with the link #tab/windows on the page will be selected.Dependent tabsIt's possible to make the selection in one set of tabs dependent on the selection in anotherset of tabs. Here's an example of that in action:resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", "Links": [ { "Goto": { "PageNumber": 18, "Coordinates": { "Left": 28, - "Top": 574.99994 + "Top": 605.74994 } } } @@ -758,14 +758,14 @@ }, { "Number": 19, - "Text": "19 / 125It's possible to make the selection in one set of tabs dependent on the selection in anotherset of tabs. Here's an example of that in action:.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NETand TypeScript tabs. This is because the tab group defines two versions for each .NET andTypeScript, where the Windows/Linux selection above determines which version is shownfor .NET/TypeScript. Here's the markup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", + "Text": "19 / 125.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NETand TypeScript tabs. This is because the tab group defines two versions for each .NET andTypeScript, where the Windows/Linux selection above determines which version is shownfor .NET/TypeScript. Here's the markup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", "Links": [ { "Goto": { "PageNumber": 19, "Coordinates": { "Left": 28, - "Top": 684.49994 + "Top": 732.49994 } } } diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/articles/markdown.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/articles/markdown.html.view.verified.json index 031cf1dc26b..74ff11a061a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/articles/markdown.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/articles/markdown.html.view.verified.json @@ -1,5 +1,5 @@ { - "conceptual": "\n

Markdown is a lightweight markup language with plain text formatting syntax. Docfx supports CommonMark compliant Markdown parsed through the Markdig parsing engine.

\n

Link to Math Expressions

\n

Block Quotes

\n
\n

This is a block quote.

\n
\n

Alerts

\n
\n
Note
\n

Information the user should notice even if skimming.

\n
\n
\n
Tip
\n

Optional information to help a user be more successful.

\n
\n
\n
Important
\n

Essential information required for user success.

\n
\n
\n
Caution
\n

Negative potential consequences of an action.

\n
\n
\n
Warning
\n

Dangerous certain consequences of an action.

\n
\n
\n
MY TODO
\n

This is a TODO.

\n
\n

Image

\n

\"alt-text\"

\n

Mermaid Diagrams

\n

Flowchart

\n
flowchart LR\n\nA[Hard] -->|Text| B(Round)\nB --> C{Decision}\nC -->|One| D[Result 1]\nC -->|Two| E[Result 2]\n
\n

Code Snippet

\n

The example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.

\n
using System;\nusing Azure;\nusing Azure.Storage;\nusing Azure.Storage.Blobs;\n\nclass Program\n{\n    static void Main(string[] args)\n    {\n        // Define the connection string for the storage account\n        string connectionString = "DefaultEndpointsProtocol=https;AccountName=<your-account-name>;AccountKey=<your-account-key>;EndpointSuffix=core.windows.net";\n\n        // Create a new BlobServiceClient using the connection string\n        var blobServiceClient = new BlobServiceClient(connectionString);\n\n        // Create a new container\n        var container = blobServiceClient.CreateBlobContainer("mycontainer");\n\n        // Upload a file to the container\n        using (var fileStream = File.OpenRead("path/to/file.txt"))\n        {\n            container.UploadBlob("file.txt", fileStream);\n        }\n\n        // Download the file from the container\n        var downloadedBlob = container.GetBlobClient("file.txt").Download();\n        using (var fileStream = File.OpenWrite("path/to/downloaded-file.txt"))\n        {\n            downloadedBlob.Value.Content.CopyTo(fileStream);\n        }\n    }\n}\n

Math Expressions

\n

This sentence uses $ delimiters to show math inline: \\(\\sqrt{3x-1}+(1+x)^2\\)

\n

The Cauchy-Schwarz Inequality

\n

\\(\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\\)

\n

This expression uses \\$ to display a dollar sign: \\(\\sqrt{\\$4}\\)

\n

To split $100 in half, we calculate \\(100/2\\)

\n

Custom Syntax Highlighting

\n
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = {\n  name: 'hello'\n  // (...)\n}\n
\n

Tabs

\n
\n\n
\n\n

Content for Linux...

\n
\n\n
\n\n

The above tab group was created with the following syntax:

\n
# [Linux](#tab/linux)\n\nContent for Linux...\n\n# [Windows](#tab/windows)\n\nContent for Windows...\n\n---\n
\n

Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be described as follows:

\n
# [Tab Display Name](#tab/tab-id)\n
\n

A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link will become the text of the tab header, displayed to the customer. In order for the header to be recognized as a tab, the link itself must start with #tab/ and be followed by an ID representing the content of the tab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a user selects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.

\n

Dependent tabs

\n

It's possible to make the selection in one set of tabs dependent on the selection in another set of tabs. Here's an example of that in action:

\n
\n\n
\n\n

.NET content for Linux...

\n
\n\n\n\n\n
\n\n

Notice how changing the Linux/Windows selection above changes the content in the .NET and TypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, where the Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's the markup that shows how this is done:

\n
# [.NET](#tab/dotnet/linux)\n\n.NET content for Linux...\n\n# [.NET](#tab/dotnet/windows)\n\n.NET content for Windows...\n\n# [TypeScript](#tab/typescript/linux)\n\nTypeScript content for Linux...\n\n# [TypeScript](#tab/typescript/windows)\n\nTypeScript content for Windows...\n\n# [REST API](#tab/rest)\n\nREST API content, independent of platform...\n\n---\n
\n

Details

\n
\nDemo\n
root@server# apt-get install nano\n
\n
\n", + "conceptual": "\n

Markdown is a lightweight markup language with plain text formatting syntax. Docfx supports CommonMark compliant Markdown parsed through the Markdig parsing engine.

\n

Link to Math Expressions

\n

Block Quotes

\n
\n

This is a block quote.

\n
\n

Alerts

\n
\n
Note
\n

Information the user should notice even if skimming.

\n
\n
\n
Tip
\n

Optional information to help a user be more successful.

\n
\n
\n
Important
\n

Essential information required for user success.

\n
\n
\n
Caution
\n

Negative potential consequences of an action.

\n
\n
\n
Warning
\n

Dangerous certain consequences of an action.

\n
\n
\n

[!TODO]\nThis is a TODO.

\n
\n

Image

\n

\"alt-text\"

\n

Mermaid Diagrams

\n

Flowchart

\n
flowchart LR\n\nA[Hard] -->|Text| B(Round)\nB --> C{Decision}\nC -->|One| D[Result 1]\nC -->|Two| E[Result 2]\n
\n

Code Snippet

\n

The example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.

\n
using System;\nusing Azure;\nusing Azure.Storage;\nusing Azure.Storage.Blobs;\n\nclass Program\n{\n    static void Main(string[] args)\n    {\n        // Define the connection string for the storage account\n        string connectionString = "DefaultEndpointsProtocol=https;AccountName=<your-account-name>;AccountKey=<your-account-key>;EndpointSuffix=core.windows.net";\n\n        // Create a new BlobServiceClient using the connection string\n        var blobServiceClient = new BlobServiceClient(connectionString);\n\n        // Create a new container\n        var container = blobServiceClient.CreateBlobContainer("mycontainer");\n\n        // Upload a file to the container\n        using (var fileStream = File.OpenRead("path/to/file.txt"))\n        {\n            container.UploadBlob("file.txt", fileStream);\n        }\n\n        // Download the file from the container\n        var downloadedBlob = container.GetBlobClient("file.txt").Download();\n        using (var fileStream = File.OpenWrite("path/to/downloaded-file.txt"))\n        {\n            downloadedBlob.Value.Content.CopyTo(fileStream);\n        }\n    }\n}\n

Math Expressions

\n

This sentence uses $ delimiters to show math inline: \\(\\sqrt{3x-1}+(1+x)^2\\)

\n

The Cauchy-Schwarz Inequality

\n

\\(\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\\)

\n

This expression uses \\$ to display a dollar sign: \\(\\sqrt{\\$4}\\)

\n

To split $100 in half, we calculate \\(100/2\\)

\n

Custom Syntax Highlighting

\n
resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = {\n  name: 'hello'\n  // (...)\n}\n
\n

Tabs

\n
\n\n
\n\n

Content for Linux...

\n
\n\n
\n\n

The above tab group was created with the following syntax:

\n
# [Linux](#tab/linux)\n\nContent for Linux...\n\n# [Windows](#tab/windows)\n\nContent for Windows...\n\n---\n
\n

Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be described as follows:

\n
# [Tab Display Name](#tab/tab-id)\n
\n

A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link will become the text of the tab header, displayed to the customer. In order for the header to be recognized as a tab, the link itself must start with #tab/ and be followed by an ID representing the content of the tab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a user selects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.

\n

Dependent tabs

\n

It's possible to make the selection in one set of tabs dependent on the selection in another set of tabs. Here's an example of that in action:

\n
\n\n
\n\n

.NET content for Linux...

\n
\n\n\n\n\n
\n\n

Notice how changing the Linux/Windows selection above changes the content in the .NET and TypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, where the Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's the markup that shows how this is done:

\n
# [.NET](#tab/dotnet/linux)\n\n.NET content for Linux...\n\n# [.NET](#tab/dotnet/windows)\n\n.NET content for Windows...\n\n# [TypeScript](#tab/typescript/linux)\n\nTypeScript content for Linux...\n\n# [TypeScript](#tab/typescript/windows)\n\nTypeScript content for Windows...\n\n# [REST API](#tab/rest)\n\nREST API content, independent of platform...\n\n---\n
\n

Details

\n
\nDemo\n
root@server# apt-get install nano\n
\n
\n", "type": "Conceptual", "source": { "remote": { @@ -27,7 +27,7 @@ "pdfTocPage": true, "rawTitle": "

Markdown

", "title": "Markdown", - "wordCount": 587.0, + "wordCount": 586.0, "_key": "articles/markdown.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/articles/seed.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/articles/seed.pdf.verified.json index cfe41aaa543..6089b6eb779 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/articles/seed.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/articles/seed.pdf.verified.json @@ -182,7 +182,7 @@ }, { "Number": 14, - "Text": "14 / 18MarkdownMarkdown\uF1C5 is a lightweight markup language with plain text formatting syntax. Docfx supportsCommonMark\uF1C5 compliant Markdown parsed through the Markdig\uF1C5 parsing engine.Link to Math ExpressionsBlock QuotesThis is a block quote.AlertsNOTEInformation the user should notice even if skimming.\uF431TIPOptional information to help a user be more successful.\uF431IMPORTANTEssential information required for user success.\uF623CAUTIONNegative potential consequences of an action.\uF623WARNINGDangerous certain consequences of an action.\uF333", + "Text": "14 / 18MarkdownMarkdown\uF1C5 is a lightweight markup language with plain text formatting syntax. Docfx supportsCommonMark\uF1C5 compliant Markdown parsed through the Markdig\uF1C5 parsing engine.Link to Math ExpressionsBlock QuotesThis is a block quote.Alerts[!TODO] This is a TODO.NOTEInformation the user should notice even if skimming.\uF431TIPOptional information to help a user be more successful.\uF431IMPORTANTEssential information required for user success.\uF623CAUTIONNegative potential consequences of an action.\uF623WARNINGDangerous certain consequences of an action.\uF333", "Links": [ { "Uri": "https://daringfireball.net/projects/markdown/" @@ -216,7 +216,7 @@ "PageNumber": 16, "Coordinates": { "Left": 28, - "Top": 211.24994 + "Top": 316.25006 } } } @@ -225,7 +225,7 @@ { "Number": 15, "NumberOfImages": 1, - "Text": "15 / 18ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.MY TODOThis is a TODO.TextOneTwoHardRoundDecisionResult 1Result 2", + "Text": "15 / 18ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.TextOneTwoHardRoundDecisionResult 1Result 2using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program", "Links": [ { "Uri": "https://learn.microsoft.com/en-us/media/learn/not-found/learn-not-found-light-mode.png?branch=main" @@ -237,38 +237,37 @@ }, { "Number": 16, - "Text": "16 / 18Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", + "Text": "16 / 18Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate Custom Syntax Highlighting{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello'", "Links": [] }, { "Number": 17, - "Text": "17 / 18Custom Syntax HighlightingTabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be describedas follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link willbecome the text of the tab header, displayed to the customer. In order for the header to be recognizedas a tab, the link itself must start with #tab/ and be followed by an ID representing the content of thetab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a userselects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.Dependent tabsIt's possible to make the selection in one set of tabs dependent on the selection in another set of tabs.Here's an example of that in action:resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", + "Text": "17 / 18TabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be describedas follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link willbecome the text of the tab header, displayed to the customer. In order for the header to be recognizedas a tab, the link itself must start with #tab/ and be followed by an ID representing the content of thetab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a userselects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.Dependent tabsIt's possible to make the selection in one set of tabs dependent on the selection in another set of tabs.Here's an example of that in action:.NETTypeScriptREST API // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", "Links": [ { "Goto": { "PageNumber": 17, "Coordinates": { "Left": 28, - "Top": 574.99994 + "Top": 647.74994 } } - } - ] - }, - { - "Number": 18, - "Text": "18 / 18.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NET andTypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, wherethe Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's themarkup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", - "Links": [ + }, { "Goto": { - "PageNumber": 18, + "PageNumber": 17, "Coordinates": { "Left": 28, - "Top": 732.49994 + "Top": 69.499939 } } } ] + }, + { + "Number": 18, + "Text": "18 / 18Notice how changing the Linux/Windows selection above changes the content in the .NET andTypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, wherethe Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's themarkup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", + "Links": [] } ], "Bookmarks": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/index.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/index.verified.json index 9fd745f5255..658fc19d59f 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/index.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/index.verified.json @@ -557,7 +557,7 @@ "articles/markdown.html": { "href": "articles/markdown.html", "title": "Markdown | docfx seed website", - "keywords": "Markdown Markdown is a lightweight markup language with plain text formatting syntax. Docfx supports CommonMark compliant Markdown parsed through the Markdig parsing engine. Link to Math Expressions Block Quotes This is a block quote. Alerts Note Information the user should notice even if skimming. Tip Optional information to help a user be more successful. Important Essential information required for user success. Caution Negative potential consequences of an action. Warning Dangerous certain consequences of an action. MY TODO This is a TODO. Image Mermaid Diagrams Flowchart flowchart LR A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2] Code Snippet The example highlights lines 2, line 5 to 7 and lines 9 to the end of the file. using System; using Azure; using Azure.Storage; using Azure.Storage.Blobs; class Program { static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } } } Math Expressions This sentence uses $ delimiters to show math inline: \\(\\sqrt{3x-1}+(1+x)^2\\) The Cauchy-Schwarz Inequality \\(\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\\) This expression uses \\$ to display a dollar sign: \\(\\sqrt{\\$4}\\) To split $100 in half, we calculate \\(100/2\\) Custom Syntax Highlighting resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...) } Tabs Linux Windows Content for Linux... Content for Windows... The above tab group was created with the following syntax: # [Linux](#tab/linux) Content for Linux... # [Windows](#tab/windows) Content for Windows... --- Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be described as follows: # [Tab Display Name](#tab/tab-id) A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link will become the text of the tab header, displayed to the customer. In order for the header to be recognized as a tab, the link itself must start with #tab/ and be followed by an ID representing the content of the tab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a user selects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected. Dependent tabs It's possible to make the selection in one set of tabs dependent on the selection in another set of tabs. Here's an example of that in action: .NET .NET TypeScript TypeScript REST API .NET content for Linux... .NET content for Windows... TypeScript content for Linux... TypeScript content for Windows... REST API content, independent of platform... flowchart LR A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2] Notice how changing the Linux/Windows selection above changes the content in the .NET and TypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, where the Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's the markup that shows how this is done: # [.NET](#tab/dotnet/linux) .NET content for Linux... # [.NET](#tab/dotnet/windows) .NET content for Windows... # [TypeScript](#tab/typescript/linux) TypeScript content for Linux... # [TypeScript](#tab/typescript/windows) TypeScript content for Windows... # [REST API](#tab/rest) REST API content, independent of platform... --- Details Demo root@server# apt-get install nano" + "keywords": "Markdown Markdown is a lightweight markup language with plain text formatting syntax. Docfx supports CommonMark compliant Markdown parsed through the Markdig parsing engine. Link to Math Expressions Block Quotes This is a block quote. Alerts Note Information the user should notice even if skimming. Tip Optional information to help a user be more successful. Important Essential information required for user success. Caution Negative potential consequences of an action. Warning Dangerous certain consequences of an action. [!TODO] This is a TODO. Image Mermaid Diagrams Flowchart flowchart LR A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2] Code Snippet The example highlights lines 2, line 5 to 7 and lines 9 to the end of the file. using System; using Azure; using Azure.Storage; using Azure.Storage.Blobs; class Program { static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } } } Math Expressions This sentence uses $ delimiters to show math inline: \\(\\sqrt{3x-1}+(1+x)^2\\) The Cauchy-Schwarz Inequality \\(\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\\) This expression uses \\$ to display a dollar sign: \\(\\sqrt{\\$4}\\) To split $100 in half, we calculate \\(100/2\\) Custom Syntax Highlighting resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...) } Tabs Linux Windows Content for Linux... Content for Windows... The above tab group was created with the following syntax: # [Linux](#tab/linux) Content for Linux... # [Windows](#tab/windows) Content for Windows... --- Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be described as follows: # [Tab Display Name](#tab/tab-id) A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link will become the text of the tab header, displayed to the customer. In order for the header to be recognized as a tab, the link itself must start with #tab/ and be followed by an ID representing the content of the tab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a user selects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected. Dependent tabs It's possible to make the selection in one set of tabs dependent on the selection in another set of tabs. Here's an example of that in action: .NET .NET TypeScript TypeScript REST API .NET content for Linux... .NET content for Windows... TypeScript content for Linux... TypeScript content for Windows... REST API content, independent of platform... flowchart LR A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2] Notice how changing the Linux/Windows selection above changes the content in the .NET and TypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, where the Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's the markup that shows how this is done: # [.NET](#tab/dotnet/linux) .NET content for Linux... # [.NET](#tab/dotnet/windows) .NET content for Windows... # [TypeScript](#tab/typescript/linux) TypeScript content for Linux... # [TypeScript](#tab/typescript/windows) TypeScript content for Windows... # [REST API](#tab/rest) REST API content, independent of platform... --- Details Demo root@server# apt-get install nano" }, "index.html": { "href": "index.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/pdf/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/pdf/toc.pdf.verified.json index e4ed31375e9..e2046586638 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/pdf/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed.Windows/pdf/toc.pdf.verified.json @@ -678,7 +678,7 @@ }, { "Number": 14, - "Text": "14 / 123MarkdownMarkdown\uF1C5 is a lightweight markup language with plain text formatting syntax. Docfx supportsCommonMark\uF1C5 compliant Markdown parsed through the Markdig\uF1C5 parsing engine.Link to Math ExpressionsBlock QuotesThis is a block quote.AlertsNOTEInformation the user should notice even if skimming.\uF431TIPOptional information to help a user be more successful.\uF431IMPORTANTEssential information required for user success.\uF623CAUTIONNegative potential consequences of an action.\uF623WARNINGDangerous certain consequences of an action.\uF333", + "Text": "14 / 123MarkdownMarkdown\uF1C5 is a lightweight markup language with plain text formatting syntax. Docfx supportsCommonMark\uF1C5 compliant Markdown parsed through the Markdig\uF1C5 parsing engine.Link to Math ExpressionsBlock QuotesThis is a block quote.Alerts[!TODO] This is a TODO.NOTEInformation the user should notice even if skimming.\uF431TIPOptional information to help a user be more successful.\uF431IMPORTANTEssential information required for user success.\uF623CAUTIONNegative potential consequences of an action.\uF623WARNINGDangerous certain consequences of an action.\uF333", "Links": [ { "Uri": "https://daringfireball.net/projects/markdown/" @@ -712,7 +712,7 @@ "PageNumber": 16, "Coordinates": { "Left": 28, - "Top": 211.24994 + "Top": 316.25006 } } } @@ -721,7 +721,7 @@ { "Number": 15, "NumberOfImages": 1, - "Text": "15 / 123ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.MY TODOThis is a TODO.TextOneTwoHardRoundDecisionResult 1Result 2", + "Text": "15 / 123ImageMermaid DiagramsFlowchartCode SnippetThe example highlights lines 2, line 5 to 7 and lines 9 to the end of the file.TextOneTwoHardRoundDecisionResult 1Result 2using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program", "Links": [ { "Uri": "https://learn.microsoft.com/en-us/media/learn/not-found/learn-not-found-light-mode.png?branch=main" @@ -733,39 +733,38 @@ }, { "Number": 16, - "Text": "16 / 123Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate using System;using Azure;using Azure.Storage;using Azure.Storage.Blobs;class Program{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}", + "Text": "16 / 123Math ExpressionsThis sentence uses $ delimiters to show math inline: The Cauchy-Schwarz InequalityThis expression uses \\$ to display a dollar sign: To split $100 in half, we calculate Custom Syntax Highlighting{ static void Main(string[] args) { // Define the connection string for the storage account string connectionString = \"DefaultEndpointsProtocol=https;AccountName=;AccountKey=;EndpointSuffix=core.windows.net\"; // Create a new BlobServiceClient using the connection string var blobServiceClient = new BlobServiceClient(connectionString); // Create a new container var container = blobServiceClient.CreateBlobContainer(\"mycontainer\"); // Upload a file to the container using (var fileStream = File.OpenRead(\"path/to/file.txt\")) { container.UploadBlob(\"file.txt\", fileStream); } // Download the file from the container var downloadedBlob = container.GetBlobClient(\"file.txt\").Download(); using (var fileStream = File.OpenWrite(\"path/to/downloaded-file.txt\")) { downloadedBlob.Value.Content.CopyTo(fileStream); } }}resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello'", "Links": [] }, { "Number": 17, - "Text": "17 / 123Custom Syntax HighlightingTabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be describedas follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link willbecome the text of the tab header, displayed to the customer. In order for the header to be recognizedas a tab, the link itself must start with #tab/ and be followed by an ID representing the content of thetab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a userselects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.Dependent tabsIt's possible to make the selection in one set of tabs dependent on the selection in another set of tabs.Here's an example of that in action:resource storageAccount 'Microsoft.Storage/storageAccounts@2021-06-01' = { name: 'hello' // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", + "Text": "17 / 123TabsLinuxWindowsThe above tab group was created with the following syntax:Tabs are indicated by using a specific link syntax within a Markdown header. The syntax can be describedas follows:A tab starts with a Markdown header, #, and is followed by a Markdown link [](). The text of the link willbecome the text of the tab header, displayed to the customer. In order for the header to be recognizedas a tab, the link itself must start with #tab/ and be followed by an ID representing the content of thetab. The ID is used to sync all same-ID tabs across the page. Using the above example, when a userselects a tab with the link #tab/windows, all tabs with the link #tab/windows on the page will be selected.Dependent tabsIt's possible to make the selection in one set of tabs dependent on the selection in another set of tabs.Here's an example of that in action:.NETTypeScriptREST API // (...)}Content for Linux...# [Linux](#tab/linux)Content for Linux...# [Windows](#tab/windows)Content for Windows...---# [Tab Display Name](#tab/tab-id)", "Links": [ { "Goto": { "PageNumber": 17, "Coordinates": { "Left": 28, - "Top": 574.99994 + "Top": 647.74994 } } - } - ] - }, - { - "Number": 18, - "Text": "18 / 123.NETTypeScriptREST APINotice how changing the Linux/Windows selection above changes the content in the .NET andTypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, wherethe Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's themarkup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", - "Links": [ + }, { "Goto": { - "PageNumber": 18, + "PageNumber": 17, "Coordinates": { "Left": 28, - "Top": 732.49994 + "Top": 69.499939 } } } ] }, + { + "Number": 18, + "Text": "18 / 123Notice how changing the Linux/Windows selection above changes the content in the .NET andTypeScript tabs. This is because the tab group defines two versions for each .NET and TypeScript, wherethe Windows/Linux selection above determines which version is shown for .NET/TypeScript. Here's themarkup that shows how this is done:DetailsDemo.NET content for Linux...# [.NET](#tab/dotnet/linux).NET content for Linux...# [.NET](#tab/dotnet/windows).NET content for Windows...# [TypeScript](#tab/typescript/linux)TypeScript content for Linux...# [TypeScript](#tab/typescript/windows)TypeScript content for Windows...# [REST API](#tab/rest)REST API content, independent of platform...---", + "Links": [] + }, { "Number": 19, "Text": "19 / 123ClassesClass1This is a test class.StructsIssue5432Namespace BuildFromAssembly", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png index 78287e1666e..de5b5ba28dc 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0ac534f6c4c308408825b1e2428a8fe657c6e96c31db948a1c7af4e1bc6c71ff -size 935811 +oid sha256:9806e56a40f4660706caab5fca0a25a7363638c94cf734312e058f8cdf91e181 +size 935139 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png index 826ee32b251..9a5cd3ead74 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47d1f74bcc4431fd1ee8ff07fbedc37d911c6aabfa9db4291344ed1087b66773 -size 530071 +oid sha256:8986922a08ad8e69a6a3726aa6c5e5dbb85066ad31b45b4612692717fd4eb4ed +size 529178 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.html b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.html index 914632c05c9..85fb54f440b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.html +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.html @@ -353,10 +353,10 @@
Caution
Warning

Dangerous certain consequences of an action.

-
-
MY TODO
-

This is a TODO.

-
+
+

[!TODO] +This is a TODO.

+

Image

alt-text

Mermaid Diagrams