Browse Source

Clean-up documentation

merge-requests/17/head
Chi 3 years ago
parent
commit
0883b1594e
  1. 2
      docs/cheat-sheet.md
  2. 4
      docs/migration-to-3.x.md

2
docs/cheat-sheet.md

@ -223,7 +223,7 @@ images when used in an `<img/>` tag.
## Format size ## Format size
```twig ```twig
{{ 12345|format_size() }} {{ 12345|format_size }}
``` ```
## Truncate ## Truncate

4
docs/migration-to-3.x.md

@ -38,14 +38,14 @@ function preprocess_page(array &$variables): void {
element. This may break some CSS rules. element. This may break some CSS rules.
Before: Before:
```HTML ```html
<div> <div>
<div class="from-block-plugin">Block content</div> <div class="from-block-plugin">Block content</div>
</div> </div>
``` ```
After: After:
```HTML ```html
<div class="from-block-plugin"> <div class="from-block-plugin">
<div>Block content</div> <div>Block content</div>
</div> </div>

Loading…
Cancel
Save