-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Generate figure IDs #257
Generate figure IDs #257
Conversation
@@ -336,7 +336,7 @@ <h2 id="adoption-of-http2">Adoption of HTTP/2</h2> | |||
obscuresite.com are given equal weighting). There are lies, damn lies | |||
and statistics. However, looking at other sources (for example the | |||
<a | |||
href="https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&measure=HTTP_RESPONSE_VERSION" | |||
href="https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&measure=HTTP_RESPONSE_VERSION" |
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 change breaks the URL. Maybe if we change the &
to ?
this won't happen?
@@ -192,7 +192,9 @@ <h2 id="the-state-of-performance">The state of performance</h2> | |||
</p> | |||
<p>So let's dive in and see what kind of insights we can find.</p> | |||
<h3 id="fcp">FCP</h3> | |||
<figure> | |||
<figure | |||
id="figure-1-distribution-of-websites-fast-average-and-slow-fcp-performance" |
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.
Honestly not a fan of these super long IDs. I think we can get by with the bare minimum of something simple like fig1
or figure-1
. WDYT?
@@ -728,7 +728,7 @@ <h3 id="internationalization">Internationalization</h3> | |||
or not the different language versions properly link to each other. | |||
However, from looking at the low adoption of | |||
<a | |||
href="https://www.google.com/url?q=https://support.google.com/webmasters/answer/189077?hl%3Den&sa=D&ust=1570627963630000&usg=AFQjCNFwzwglsbysT9au_I-7ZQkwa-QvrA" | |||
href="https://www.google.com/url?q=https://support.google.com/webmasters/answer/189077?hl%3Den&sa=D&ust=1570627963630000&usg=AFQjCNFwzwglsbysT9au_I-7ZQkwa-QvrA" |
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.
Here we go again. Looks like the generator doesn't like &
s even when they follow ?
in URLs. Is this fixable?
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.
Looks great!
This PR generates the Figure IDs using the figcaption text on the ID. The ID's are a little long, and I'm open to suggestions to shorten them.
Progress on #199