-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Unify desc format for SVG elements #36883
base: main
Are you sure you want to change the base?
Conversation
Thanks for this! I'm going to anticipate that Hamish will suggest also updating the SVG element page template to be explicit about this if we're going ahead with this format. I've updated the HTTP header template page with a quote block with how we expect the first sentence should look if you want to use that for inspiration. edit: also adding in Pepelsbey who might have opinions on the SVG intro format :) |
@@ -7,7 +7,7 @@ browser-compat: svg.elements.textPath | |||
|
|||
{{SVGRef}} | |||
|
|||
To render text along the shape of a {{SVGElement("path")}}, enclose the text in a **`<textPath>`** element that has an {{SVGAttr("href")}} attribute with a reference to the {{SVGElement("path")}} element. | |||
To render text along the shape of a {{SVGElement("path")}}, enclose the text in a **`<textPath>`** [SVG](/en-US/docs/Web/SVG) element that has an {{SVGAttr("href")}} attribute with a reference to the {{SVGElement("path")}} element. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one doesn't look very consistent. Can it be reworded?
@@ -7,7 +7,7 @@ browser-compat: svg.elements.a | |||
|
|||
{{SVGRef}} | |||
|
|||
The **\<a>** SVG element creates a hyperlink to other web pages, files, locations in the same page, email addresses, or any other URL. It is very similar to HTML's {{htmlelement("a")}} element. | |||
The **`<a>`** [SVG](/en-US/docs/Web/SVG) element creates a hyperlink to other web pages, files, locations in the same page, email addresses, or any other URL. It is very similar to HTML's {{htmlelement("a")}} element. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HOw did you decide on this pattern? I ask because HTTP went the other way - such as
The HTTP Last-Modified ...
I have no problem with this, just interested in the thinking.
Description
Motivation
Additional details
Related issues and pull requests