Skip to content

[12.x] standardize "none/nothing" fenced code blocks #10176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2025
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions blade.md
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ If you would like to conditionally render your component, you may define a `shou

Sometimes components are part of a component group and you may wish to group the related components within a single directory. For example, imagine a "card" component with the following class structure:

```none
```text
App\Views\Components\Card\Card
App\Views\Components\Card\Header
App\Views\Components\Card\Body
Expand Down Expand Up @@ -1378,7 +1378,7 @@ You may use the `.` character to indicate if a component is nested deeper inside

Sometimes, when a component is made up of many Blade templates, you may wish to group the given component's templates within a single directory. For example, imagine an "accordion" component with the following directory structure:

```none
```text
/resources/views/components/accordion.blade.php
/resources/views/components/accordion/item.blade.php
```
Expand All @@ -1397,7 +1397,7 @@ However, in order to render the accordion component via `x-accordion`, we were f

Thankfully, Blade allows you to place a file matching the component's directory name within the component's directory itself. When this template exists, it can be rendered as the "root" element of the component even though it is nested within a directory. So, we can continue to use the same Blade syntax given in the example above; however, we will adjust our directory structure like so:

```none
```text
/resources/views/components/accordion/accordion.blade.php
/resources/views/components/accordion/item.blade.php
```
Expand Down
8 changes: 4 additions & 4 deletions installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ composer global require laravel/installer

After you have installed PHP, Composer, and the Laravel installer, you're ready to create a new Laravel application. The Laravel installer will prompt you to select your preferred testing framework, database, and starter kit:

```nothing
```shell
laravel new example-app
```

Once the application has been created, you can start Laravel's local development server, queue worker, and Vite development server using the `dev` Composer script:

```nothing
```shell
cd example-app
npm install && npm run build
composer run dev
Expand Down Expand Up @@ -179,7 +179,7 @@ Herd for macOS uses [dnsmasq](https://en.wikipedia.org/wiki/Dnsmasq) to support

After installing Herd, the fastest way to create a new Laravel application is using the Laravel CLI, which is bundled with Herd:

```nothing
```shell
cd ~/Herd
laravel new my-app
cd my-app
Expand All @@ -201,7 +201,7 @@ During installation, Herd creates a "parked" directory in your home directory at

After installing Herd, the fastest way to create a new Laravel application is using the Laravel CLI, which is bundled with Herd. To get started, open Powershell and run the following commands:

```nothing
```shell
cd ~\Herd
laravel new my-app
cd my-app
Expand Down
2 changes: 1 addition & 1 deletion mail.md
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ Once your custom transport has been defined and registered, you may create a mai

Laravel includes support for some existing Symfony maintained mail transports like Mailgun and Postmark. However, you may wish to extend Laravel with support for additional Symfony maintained transports. You can do so by requiring the necessary Symfony mailer via Composer and registering the transport with Laravel. For example, you may install and register the "Brevo" (formerly "Sendinblue") Symfony mailer:

```none
```shell
composer require symfony/brevo-mailer symfony/http-client
```

Expand Down
2 changes: 1 addition & 1 deletion pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ While `paginate` and `simplePaginate` create queries using the SQL "offset" clau

Unlike offset based pagination, which includes a page number in the query string of the URLs generated by the paginator, cursor based pagination places a "cursor" string in the query string. The cursor is an encoded string containing the location that the next paginated query should start paginating and the direction that it should paginate:

```nothing
```text
http://localhost/users?cursor=eyJpZCI6MTUsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0
```

Expand Down
4 changes: 2 additions & 2 deletions validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ Some of Laravel's built-in validation rule error messages contain a `:value` pla

If this validation rule fails, it will produce the following error message:

```none
```text
The credit card number field is required when payment type is cc.
```

Expand All @@ -841,7 +841,7 @@ Instead of displaying `cc` as the payment type value, you may specify a more use

After defining this value, the validation rule will produce the following error message:

```none
```text
The credit card number field is required when payment type is credit card.
```

Expand Down
4 changes: 2 additions & 2 deletions vite.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ When referencing relative asset paths, you should remember that the paths are re

Consider the following project structure:

```nothing
```text
public/
taylor.png
resources/
Expand Down Expand Up @@ -646,7 +646,7 @@ ASSET_URL=https://cdn.example.com

After configuring the asset URL, all re-written URLs to your assets will be prefixed with the configured value:

```nothing
```text
https://cdn.example.com/build/assets/app.9dce8d17.js
```

Expand Down