Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/pull_request_markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ jobs:
#xtask/coverage
#target
#crates/biome_markdown_parser/tests
#crates/biome_markdown_formatter/tests
#crates/biome_js_formatter/report*.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
> NOTE: To use `unobtrusive`, `unobtrusive/import`, `unobtrusive/react`, and `unobtrusive/flowtype` together, your eslint config would look like this:
>```json
>{
> "extends": [
> "unobtrusive",
> "unobtrusive/import",
> "unobtrusive/react",
> "unobtrusive/flowtype"
> ],
> "env": {
> "browser": true
> }
>}
>```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
> NOTE: To use `unobtrusive`, `unobtrusive/import`, `unobtrusive/react`, and `unobtrusive/flowtype` together, your eslint config would look like this:
>
> ```json
> {
> "extends": [
> "unobtrusive",
> "unobtrusive/import",
> "unobtrusive/react",
> "unobtrusive/flowtype"
> ],
> "env": {
> "browser": true
> }
> }
> ```
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
> ````md
> <!-- prettier-ignore -->
> ```js
> ugly ( code ) ;
> ```
> ````

> ```md
> <!-- prettier-ignore -->
> - This is a long long
> long long long long
> long long paragraph.
> ```

> - test
> ```md
> <!-- prettier-ignore -->
> - This is a long long
> long long long long
> long long paragraph.
> ```

````md
> ```md
> <!-- prettier-ignore -->
> - This is a long long
> long long long long
> long long paragraph.
> ```
````

> ````md
> > ```md
> > <!-- prettier-ignore -->
> > - This is a long long
> > long long long long
> > long long paragraph.
> > ```
> ````

>
> <!-- prettier-ignore -->
> - This is a long long
> long long long long
> long long paragraph.
>

> ````js
> // prettier-ignore
> const x = 1,
> b = 2
> ````
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
> ````md
> <!-- prettier-ignore -->
> ```js
> ugly ( code ) ;
> ```
> ````

> ```md
> <!-- prettier-ignore -->
> - This is a long long
> long long long long
> long long paragraph.
> ```

> - test
> ```md
> <!-- prettier-ignore -->
> - This is a long long
> long long long long
> long long paragraph.
> ```

````md
> ```md
> <!-- prettier-ignore -->
> - This is a long long
> long long long long
> long long paragraph.
> ```
````

> ````md
> > ```md
> > <!-- prettier-ignore -->
> > - This is a long long
> > long long long long
> > long long paragraph.
> > ```
> ````

> <!-- prettier-ignore -->
> - This is a long long
> long long long long
> long long paragraph.

> ```js
> // prettier-ignore
> const x = 1,
> b = 2
> ```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
>>> 123
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
> > > 123
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
> [!NOTE]
> `DOOM`

> _b_
>> `A`
>> `B`

> *a*
>> # foo
>> `a` > `b`


> This is a quote with an italic _across multuple lines
> which should just work_. So make sure there is no > if we set
> proseWrap to `never`

> This is a quote with a link [across multuple lines
> which should just work](). So make sure there is no > if we set
> proseWrap to `never`
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
> [!NOTE]
> `DOOM`

> _b_
>
> > `A`
> > `B`

> _a_
>
> > # foo
> >
> > `a` > `b`

> This is a quote with an italic _across multuple lines
> which should just work_. So make sure there is no > if we set
> proseWrap to `never`

> This is a quote with a link [across multuple lines
> which should just work](). So make sure there is no > if we set
> proseWrap to `never`
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
> This is a long long long long long long long long long long long long long long long paragraph.
> This is a long long long long long long long long long long long long long long long paragraph.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
> This is a long long long long long long long long long long long long long long long paragraph.
> This is a long long long long long long long long long long long long long long long paragraph.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
> 123
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
> 123
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
123
456

123\
456

- 123
123
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
123
456

123\
456

- 123
123
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
a
very-very-very-very-very-very-very-very-very-very-long-word very-very-very-very-very-very-very-very-very-very-long-word very-very-very-very-very-very-very-very-very-very-long-word

\
word very-very-very-very-very-very-very-very-very-very-long-word very-very-very-very-very-very-very-very-very-very-long-word
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
a
very-very-very-very-very-very-very-very-very-very-long-word very-very-very-very-very-very-very-very-very-very-long-word very-very-very-very-very-very-very-very-very-very-long-word

\
word very-very-very-very-very-very-very-very-very-very-long-word very-very-very-very-very-very-very-very-very-very-long-word
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
``````missing-comments
This should not be replaced.
``````
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```missing-comments
This should not be replaced.
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- 1
- 2
- 3
```js
md`
# this is the root indent

# this is the root indent

# this is the root indent
`

something`
asd

asd

asd
`
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- 1
- 2
- 3

```js
md`
# this is the root indent

# this is the root indent

# this is the root indent
`

something`
asd

asd

asd
`
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
1. Fork the repo and create your branch from `master`.

Open terminal (e.g. Terminal, iTerm, Git Bash or Git Shell) and type:
```sh
git clone https://github.com/<your_username>/jest
cd jest
git checkout -b my_branch
```
Note:
Replace `<your_username>` with your GitHub username

3. Run `yarn install`.
On Windows:
To install [Yarn](https://yarnpkg.com/en/docs/install#windows-tab) on Windows you may need to download either node.js or Chocolatey<br />

```sh
yarn install
```
To check your version of Yarn and ensure it's installed you can type:
```sh
yarn --version
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
1. Fork the repo and create your branch from `master`.

Open terminal (e.g. Terminal, iTerm, Git Bash or Git Shell) and type:

```sh
git clone https://github.com/<your_username>/jest
cd jest
git checkout -b my_branch
```

Note:
Replace `<your_username>` with your GitHub username

2. Run `yarn install`.
On Windows:
To install [Yarn](https://yarnpkg.com/en/docs/install#windows-tab) on Windows you may need to download either node.js or Chocolatey<br />

```sh
yarn install
```

To check your version of Yarn and ensure it's installed you can type:

```sh
yarn --version
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
```angular-html
@for (reason of orderForm.couponCode().disabledReasons(); track reason) {
<p>{{ reason.message }}</p>
}</div>
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
```angular-html
@for (reason of orderForm.couponCode().disabledReasons(); track reason) {
<p>{{ reason.message }}</p>
}</div>
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
```angular-html
@if (orderForm.couponCode().disabled()) {
<div class="info">
@for (reason of orderForm.couponCode().disabledReasons(); track reason) {
<p>{{ reason.message }}</p>
}</div>
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
```angular-html
@if (orderForm.couponCode().disabled()) {
<div class="info">
@for (reason of orderForm.couponCode().disabledReasons(); track reason) {
<p>{{ reason.message }}</p>
}
</div>
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
```angular-ts
Ugly:string
}

@Component({template: `
@if (orderForm.couponCode().disabled()) {
<div class="info">
@for (reason of orderForm.couponCode().disabledReasons(); track reason) {
<p>{{ reason.message }}</p>
}</div>
}
`
})
export class Order {
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
```angular-ts
Ugly:string
}

@Component({template: `
@if (orderForm.couponCode().disabled()) {
<div class="info">
@for (reason of orderForm.couponCode().disabledReasons(); track reason) {
<p>{{ reason.message }}</p>
}</div>
}
`
})
export class Order {
}
```
Loading