Skip to content

Commit

Permalink
rari-relatede content fixes (#36595)
Browse files Browse the repository at this point in the history
* Fix macros on kitchensink page

* content fixes

Co-authored-by: Dipika Bhattacharya <[email protected]>

---------

Co-authored-by: Florian Dieminger <[email protected]>
Co-authored-by: Dipika Bhattacharya <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2024
1 parent 0e8730e commit 41a27d6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion files/en-us/learn/server-side/django/introduction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ The code snippet shows what the HTML template called by the `render()` function
{% if youngest_teams %}
<ul>
{% for team in youngest_teams %}
<li>\{\{ team.team_name \}\}</li>
<li>\{{ team.team_name }}</li>
{% endfor %}
</ul>
{% else %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ The code snippet below shows how this works. Continuing the "youngest team" exam
{% if youngest_teams %}
<ul>
{% for team in youngest_teams %}
<li>\{\{ team.team_name \}\}</li>
<li>\{{ team.team_name }}</li>
{% endfor %}
</ul>
{% else %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ The vanilla JavaScript approach to building out new DOM elements in repetition w
```html
<ul>
<li v-for="task in tasks" v-bind:key="task.id">
<span>\{{task.name\}}</span>
<span>\{{task.name}}</span>
<button type="button">Delete</button>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/mdn/kitchensink/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,13 @@ this.color("blue");

{{EmbedLiveSample('Rect_code', '700', '300') }}

{{APIRef("Bluetooth API")}}{{SeeCompatTable}}
{{SeeCompatTable}}

{{WebExtAPIRef("tabs.mutedInfo")}}

### Obsolete CSSOM interfaces {{deprecated_inline}}

{{InheritanceDiagram}}
{{InheritanceDiagram("WheelEvent")}}

{{EmbedGHLiveSample("web-tech-games/index.html", '100%', 820)}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In contrast to the macros listed in [Commonly-used macros](/en-US/docs/MDN/Writi

This macro is used only with particular contexts, such as a specific API reference.

- [`RFC`](https://github.com/mdn/yari/blob/main/kumascript/macros/RFC.ejs) creates a link to the specified RFC, given its number. The syntax is: `\{\{RFC(number)\}\}`. For example, `\{\{RFC(2616)\}\}` becomes {{ RFC(2616) }}.
- [`RFC`](https://github.com/mdn/yari/blob/main/kumascript/macros/RFC.ejs) creates a link to the specified RFC, given its number. The syntax is `\{{RFC(number)}}`. For example, `\{{RFC(2616)}}` becomes {{ RFC(2616) }}.

### Landing page components

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ These are our recommendations for using certain technical terms:
On MDN, you can optionally specify the HTML element in the [`HTMLElement` macro](/en-US/docs/MDN/Writing_guidelines/Page_structures/Macros/Commonly_used_macros#linking_to_pages_in_references), which will style the element, add the angle brackets "<>", as well as add a link to its reference page.

- **Using backticks**: `<span>`
- **Using the macro**: {{HTMLElement("span")}} (source in markdown: \\{{HTMLElement("span")\}})
- **Using the macro**: {{HTMLElement("span")}} (source in markdown: `\{{HTMLElement("span")}}`)

- **Parameters vs. arguments**: The preferred term on MDN Web Docs is **parameters**. Please avoid the term "arguments" for consistency whenever possible.

Expand Down

0 comments on commit 41a27d6

Please sign in to comment.