diff --git a/README.md b/README.md index 6a9452c3d..f9d0a629c 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ The two suggested workflows are: When you link to an image, the path and filename are case-sensitive. The convention is `kebab-case`. `import` should be used to help detect broken images and placed near the top of the document for easier maintenance. > Example code for adding an image in markdown file: - ``` + ```markdown import ButtonGroup from '/img/button-group.png'; Button group ``` @@ -68,13 +68,13 @@ The two suggested workflows are: ### Setup -``` +```bash npm install ``` ### Starting -``` +```bash npx docusaurus start npx docusaurus start --locale zh-Hans npx docusaurus start --locale ru diff --git a/docs/basics/data/data-binding/index.md b/docs/basics/data/data-binding/index.md index 0edfdeef1..9d9976e7a 100644 --- a/docs/basics/data/data-binding/index.md +++ b/docs/basics/data/data-binding/index.md @@ -30,7 +30,7 @@ If the user edits the text in the text box, then the `FirstName` property of the Bindings can be unidirectional: where changes in the properties of a bound application object are reflected in the control, but the user cannot change the control. An example of this would be the text block control, which is read-only. -``` +```xml ``` diff --git a/docs/basics/user-interface/styling/styles.md b/docs/basics/user-interface/styling/styles.md index 421fbd4fc..60add48fa 100644 --- a/docs/basics/user-interface/styling/styles.md +++ b/docs/basics/user-interface/styling/styles.md @@ -29,7 +29,7 @@ When a match is located by the selection step, then the matched control's proper The XAML for a style has two parts: a selector attribute, and one or more setter elements. The selector value contains a string that uses the _Avalonia UI_ **style selector syntax**. Each setter element identifies the property that will be changed by name, and the new value that will be substituted. The pattern is like this: -``` +```xml