Skip to content

Commit

Permalink
Add links to tokens.html
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonweiting committed Oct 21, 2021
1 parent f0846dd commit a27a11c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extending.html
Expand Up @@ -60,8 +60,8 @@ <h1>Language definitions</h1>

<dt>alias</dt>
<dd>This option can be used to define one or more aliases for the matched token. The result will be, that
the styles of the token and its aliases are combined. This can be useful, to combine the styling of a well known
token, which is already supported by most of the themes, with a semantically correct token name. The option
the styles of the token and its aliases are combined. This can be useful, to combine the styling of a <a href="/tokens.html">standard
token</a>, which is already supported by most of the themes, with a semantically correct token name. The option
can be set to a string literal or an array of string literals. In the following example the token
name <code>latex-equation</code> is not supported by any theme, but it will be highlighted the same as a string.
<pre><code class="language-javascript">{
Expand Down
2 changes: 2 additions & 0 deletions faq.html
Expand Up @@ -95,6 +95,8 @@ <h1>How do I know which tokens I can style for every language?</h1>

<p>Language: <select id="language-select"></select></p>
<pre class="language-none" style="height: 30em"><code id="print-tokens-output"></code></pre>

<p>Additionally, you can find a list of standard tokens on <a href="/tokens.html">this page</a>.</p>
</section>

<section>
Expand Down

0 comments on commit a27a11c

Please sign in to comment.