Add links to the markdown reference on the docs (#1254)

This commit is contained in:
Emma 2023-08-02 17:02:51 -04:00 committed by GitHub
parent 6509d726b3
commit 0d15024bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 21 deletions

View File

@ -524,26 +524,17 @@
.text-link {
color: var(--color-link);
text-decoration: underline;
&:focus-visible,
&:hover {
color: var(--color-link-hover);
cursor: pointer;
text-decoration: underline;
}
&:active {
color: var(--color-link-active);
}
&.no-underline {
text-decoration: none;
&:hover,
&:focus-visible {
text-decoration: underline;
}
}
}
.title-link {

View File

@ -5,9 +5,9 @@
<p>
Modding should be safe for everyone, so we take abuse and malicious intent seriously at
Modrinth. We want to hear about harmful content on the site that violates our
<nuxt-link to="/legal/terms"> ToS </nuxt-link> and
<nuxt-link to="/legal/rules"> Rules </nuxt-link>. Rest assured, well keep your
identifying information private.
<nuxt-link class="text-link" to="/legal/terms">ToS</nuxt-link> and
<nuxt-link class="text-link" to="/legal/rules">Rules</nuxt-link>. Rest assured, well keep
your identifying information private.
</p>
<p v-if="itemType === 'project' || itemType === 'version'">
Please <strong>do not</strong> use this to report bugs with the project itself. This form
@ -33,7 +33,15 @@
/>
<label class="report-label" for="additional-information">
<strong>Additional information</strong>
<span> Include links and images if possible. Markdown formatting is supported. </span>
<span>
Include links and images if possible. This editor supports
<a
class="text-link"
href="https://docs.modrinth.com/docs/tutorials/markdown/"
target="_blank"
>Markdown formatting</a
>.
</span>
</label>
<div class="textarea-wrapper">
<Chips v-model="bodyViewType" class="separator" :items="['source', 'preview']" />

View File

@ -119,7 +119,7 @@
<VersionIcon />
<nuxt-link
:to="getVersionLink(notif.extra_data.project, notif.extra_data.version)"
class="text-link no-underline"
class="text-link"
>
{{ notif.extra_data.version.name }}
</nuxt-link>

View File

@ -7,10 +7,9 @@
You can type an extended description of your mod here. This editor supports
<a
class="text-link"
href="https://guides.github.com/features/mastering-markdown/"
href="https://docs.modrinth.com/docs/tutorials/markdown/"
target="_blank"
rel="noopener"
>Markdown</a
>Markdown formatting</a
>. HTML can also be used inside your description, not including styles, scripts, and
iframes (though YouTube iframes are allowed).
<span class="label__subdescription">

View File

@ -206,10 +206,9 @@
>This editor supports
<a
class="text-link"
href="https://guides.github.com/features/mastering-markdown/"
href="https://docs.modrinth.com/docs/tutorials/markdown/"
target="_blank"
rel="noopener"
>Markdown</a
>Markdown formatting</a
>. HTML can also be used inside your changelog, not including styles, scripts, and
iframes.
</span>