From 60cc950df2a957f0e42ad661a5ad51d3b745ce22 Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Sun, 7 Aug 2022 23:12:23 +0200 Subject: [PATCH] Unify and improve language settings for code snippets --- docs/controls/datagrid/README.md | 2 +- docs/controls/datagrid/datagridcolumns.md | 6 ++--- docs/controls/flyouts.md | 12 +++++----- docs/controls/grid.md | 6 ++--- docs/controls/listbox.md | 2 +- docs/controls/tabcontrol.md | 4 ++-- docs/controls/treedatagrid/README.md | 2 +- .../creating-a-flat-treedatagrid.md | 2 +- .../creating-a-hierarchical-treedatagrid.md | 2 +- .../binding-to-tasks-and-observables.md | 2 +- docs/data-binding/compiledbindings.md | 6 ++--- docs/distribution-publishing/macos.md | 22 +++++++++---------- docs/getting-started/README.md | 4 ++-- docs/getting-started/UnhandledExceptions.md | 2 +- docs/getting-started/application-lifetimes.md | 6 ++--- docs/getting-started/developer-tools.md | 2 +- .../ide-support/jetbrains-rider-setup.md | 2 +- docs/getting-started/usercontrols.md | 2 +- docs/getting-started/windows.md | 2 +- docs/styling/styles.md | 6 ++--- docs/styling/troubleshooting.md | 16 +++++++------- docs/templates/implement-IDataTemplate.md | 6 ++--- guides/basics/accessing-the-ui-thread.md | 10 ++++----- guides/developer-guides/debugging-xamlil.md | 2 +- guides/developer-guides/macos-development.md | 2 +- ...-your-developer-environment-for-android.md | 2 +- ...your-application-on-your-iphone-or-ipad.md | 2 +- tutorials/running-in-the-browser.md | 6 ++--- tutorials/todo-list-app/creating-a-view.md | 2 +- 29 files changed, 71 insertions(+), 71 deletions(-) diff --git a/docs/controls/datagrid/README.md b/docs/controls/datagrid/README.md index f1f2440..330c4f4 100644 --- a/docs/controls/datagrid/README.md +++ b/docs/controls/datagrid/README.md @@ -18,7 +18,7 @@ You can run "dotnet add package" from the command line: dotnet add package Avalonia.Controls.DataGrid ``` Or add package reference directly to the csproj file: -```xml +```markup ``` diff --git a/docs/controls/datagrid/datagridcolumns.md b/docs/controls/datagrid/datagridcolumns.md index cdae16a..ddcc192 100644 --- a/docs/controls/datagrid/datagridcolumns.md +++ b/docs/controls/datagrid/datagridcolumns.md @@ -24,7 +24,7 @@ This column is used to display text data, normally represented by a `string`. In ### Example -``` +```markup @@ -47,7 +47,7 @@ This column is used to represent a `bool` value. The value is represented by a ### Example -``` +```markup @@ -74,7 +74,7 @@ The DataGridTemplateColumn is editable from Avalonia version 0.10.12 onward. If ### Example -``` +```markup diff --git a/docs/controls/flyouts.md b/docs/controls/flyouts.md index 9b1811c..7b965f9 100644 --- a/docs/controls/flyouts.md +++ b/docs/controls/flyouts.md @@ -67,7 +67,7 @@ There are two built-in types of Flyouts: `Flyout` and `MenuFlyout`. A regular `F In order to be shown Flyouts have to be attached to a specific control, though this is not a static assignment and can be changed at runtime. `Button` has a `Flyout` property that can be used open a Flyout upon click. -```Xml +```markup