Fix the wrong markdown hightlighting [skip ci]

This commit is contained in:
Akhil G Krishnan 2023-09-28 20:14:35 +05:30
parent 7c03e4f1b7
commit 2e35046f61
4 changed files with 7 additions and 7 deletions

@ -145,7 +145,7 @@ Active Storage, with its included JavaScript library, supports uploading directl
1. Include the Active Storage JavaScript in your application's JavaScript bundle or reference it directly.
Requiring directly without bundling through the asset pipeline in the application HTML with autostart:
```html
```erb
<%= javascript_include_tag "activestorage" %>
```
Requiring via importmap-rails without bundling through the asset pipeline in the application HTML without autostart as ESM:
@ -170,7 +170,7 @@ Active Storage, with its included JavaScript library, supports uploading directl
```
2. Annotate file inputs with the direct upload URL.
```ruby
```erb
<%= form.file_field :attachments, multiple: true, direct_upload: true %>
```
3. That's it! Uploads begin upon form submission.

@ -533,7 +533,7 @@ See [the API Documentation for more information](https://api.rubyonrails.org/cla
Returns meta tags "csrf-param" and "csrf-token" with the name of the cross-site
request forgery protection parameter and token, respectively.
```html
```erb
<%= csrf_meta_tags %>
```

@ -927,7 +927,7 @@ The two processors are not fully compatible, so when migrating an existing appli
between MiniMagick and Vips, some changes have to be made if using options that are format
specific:
```rhtml
```erb
<!-- MiniMagick -->
<%= image_tag user.avatar.variant(resize_to_limit: [100, 100], format: :jpeg, sampling_factor: "4:2:0", strip: true, interlace: "JPEG", colorspace: "sRGB", quality: 80) %>