Merge pull request #885 from showdownjs/test_anchors

test(anchor): reserved keywords and object properties and protocols
pull/730/head^2
Devyn 2022-02-07 11:29:44 -07:00 committed by GitHub
commit 4f1bc668c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 386 additions and 0 deletions

View File

@ -0,0 +1,5 @@
<p><a href="#Declare">Declare options</a></p>
<p><a href="#Declare%20current%20operation%20options">Declare options</a></p>
<p><a href="#Declare current operation options">Declare options</a></p>
<p><a href="https://spec.commonmark.org/0.30/#example-500">Common Mark Example</a></p>
<p><a href="spec.commonmark.org/0.30/#example-500">Common Mark Example</a></p>

View File

@ -0,0 +1,9 @@
[Declare options](#Declare)
[Declare options](#Declare%20current%20operation%20options)
[Declare options](<#Declare current operation options>)
[Common Mark Example](https://spec.commonmark.org/0.30/#example-500)
[Common Mark Example](spec.commonmark.org/0.30/#example-500)

View File

@ -0,0 +1,67 @@
<p>Reserved Keywords found at: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar</p>
<p><a href="">break</a></p>
<p><a href="">case</a></p>
<p><a href="">catch</a></p>
<p><a href="">class</a></p>
<p><a href="">const</a></p>
<p><a href="">continue</a></p>
<p><a href="">debugger</a></p>
<p><a href="">default</a></p>
<p><a href="">delete</a></p>
<p><a href="">do</a></p>
<p><a href="">else</a></p>
<p><a href="">export</a></p>
<p><a href="">extends</a></p>
<p><a href="">finally</a></p>
<p><a href="">for</a></p>
<p><a href="">function</a></p>
<p><a href="">if</a></p>
<p><a href="">import</a></p>
<p><a href="">in</a></p>
<p><a href="">instanceof</a></p>
<p><a href="">new</a></p>
<p><a href="">return</a></p>
<p><a href="">super</a></p>
<p><a href="">switch</a></p>
<p><a href="">this</a></p>
<p><a href="">throw</a></p>
<p><a href="">try</a></p>
<p><a href="">typeof</a></p>
<p><a href="">var</a></p>
<p><a href="">void</a></p>
<p><a href="">while</a></p>
<p><a href="">with</a></p>
<p><a href="">yield</a></p>
<p><a href="">enum</a></p>
<p><a href="">implements</a></p>
<p><a href="">interface</a></p>
<p><a href="">let</a></p>
<p><a href="">package</a></p>
<p><a href="">private</a></p>
<p><a href="">protected</a></p>
<p><a href="">public</a></p>
<p><a href="">static</a></p>
<p><a href="">yield</a></p>
<p><a href="">await</a></p>
<p><a href="">abstract</a></p>
<p><a href="">boolean</a></p>
<p><a href="">byte</a></p>
<p><a href="">char</a></p>
<p><a href="">double</a></p>
<p><a href="">final</a></p>
<p><a href="">float</a></p>
<p><a href="">goto</a></p>
<p><a href="">int</a></p>
<p><a href="">long</a></p>
<p><a href="">native</a></p>
<p><a href="">short</a></p>
<p><a href="">synchronized</a></p>
<p><a href="">throws</a></p>
<p><a href="">transient</a></p>
<p><a href="">volatile</a></p>
<p><a href="">null</a></p>
<p><a href="">true</a></p>
<p><a href="">false</a></p>
<p><a href="">arguments</a></p>
<p><a href="">get</a></p>
<p><a href="">set</a></p>

View File

@ -0,0 +1,133 @@
Reserved Keywords found at: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar
[break]()
[case]()
[catch]()
[class]()
[const]()
[continue]()
[debugger]()
[default]()
[delete]()
[do]()
[else]()
[export]()
[extends]()
[finally]()
[for]()
[function]()
[if]()
[import]()
[in]()
[instanceof]()
[new]()
[return]()
[super]()
[switch]()
[this]()
[throw]()
[try]()
[typeof]()
[var]()
[void]()
[while]()
[with]()
[yield]()
[enum]()
[implements]()
[interface]()
[let]()
[package]()
[private]()
[protected]()
[public]()
[static]()
[yield]()
[await]()
[abstract]()
[boolean]()
[byte]()
[char]()
[double]()
[final]()
[float]()
[goto]()
[int]()
[long]()
[native]()
[short]()
[synchronized]()
[throws]()
[transient]()
[volatile]()
[null]()
[true]()
[false]()
[arguments]()
[get]()
[set]()

View File

@ -0,0 +1,12 @@
<p><a href="/uri">link</a></p>
<p><a href="http://example.com/">link</a></p>
<p><a href="http://example.com">link</a></p>
<p><a href="https://example.com">link</a></p>
<p><a href="https://example.com/">link</a></p>
<p><a href="example.com">link</a></p>
<p><a href="www.example.com">link</a></p>
<p><a href="file://example.com">link</a></p>
<p><a href="file://www.example.com">link</a></p>
<p><a href="example.jpg">link</a></p>
<p><a href="example.io">link</a></p>
<p><a href="http://baidu.com" title="百度">百度</a></p>

View File

@ -0,0 +1,23 @@
[link](/uri)
[link](http://example.com/)
[link](http://example.com)
[link](https://example.com)
[link](https://example.com/)
[link](example.com)
[link](www.example.com)
[link](file://example.com)
[link](file://www.example.com)
[link](example.jpg)
[link](example.io)
[百度](http://baidu.com "百度")

View File

@ -0,0 +1,46 @@
<p>Object property names found at: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object</p>
<p><a href="">assign</a></p>
<p><a href="">create</a></p>
<p><a href="">defineProperty</a></p>
<p><a href="">defineProperties</a></p>
<p><a href="">entries</a></p>
<p><a href="">freeze</a></p>
<p><a href="">fromEntries</a></p>
<p><a href="">getOwnPropertyDescriptor</a></p>
<p><a href="">getOwnPropertyDescriptors</a></p>
<p><a href="">getOwnPropertyNames</a></p>
<p><a href="">getOwnPropertySymbols</a></p>
<p><a href="">getPrototypeOf</a></p>
<p><a href="">is</a></p>
<p><a href="">isExtensible</a></p>
<p><a href="">isFrozen</a></p>
<p><a href="">isSealed</a></p>
<p><a href="">keys</a></p>
<p><a href="">preventExtensions</a></p>
<p><a href="">seal</a></p>
<p><a href="">setPrototypeOf</a></p>
<p><a href="">values</a></p>
<p><a href="">prototype.constructor</a></p>
<p><a href="">prototype.<strong>proto</strong></a></p>
<p><a href="">prototype.<strong>defineGetter</strong></a></p>
<p><a href="">prototype.<strong>defineSetter</strong></a></p>
<p><a href="">prototype.<strong>lookupGetter</strong></a></p>
<p><a href="">prototype.<strong>lookupSetter</strong></a></p>
<p><a href="">prototype.hasOwnProperty</a></p>
<p><a href="">prototype.isPrototypeOf</a></p>
<p><a href="">prototype.propertyIsEnumerable</a></p>
<p><a href="">prototype.toLocaleString</a></p>
<p><a href="">prototype.toString</a></p>
<p><a href="">prototype.valueOf</a></p>
<p><a href="">constructor</a></p>
<p><a href=""><strong>proto</strong></a></p>
<p><a href=""><strong>defineGetter</strong></a></p>
<p><a href=""><strong>defineSetter</strong></a></p>
<p><a href=""><strong>lookupGetter</strong></a></p>
<p><a href=""><strong>lookupSetter</strong></a></p>
<p><a href="">hasOwnProperty</a></p>
<p><a href="">isPrototypeOf</a></p>
<p><a href="">propertyIsEnumerable</a></p>
<p><a href="">toLocaleString</a></p>
<p><a href="">toString</a></p>
<p><a href="">valueOf</a></p>

View File

@ -0,0 +1,91 @@
Object property names found at: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object
[assign]()
[create]()
[defineProperty]()
[defineProperties]()
[entries]()
[freeze]()
[fromEntries]()
[getOwnPropertyDescriptor]()
[getOwnPropertyDescriptors]()
[getOwnPropertyNames]()
[getOwnPropertySymbols]()
[getPrototypeOf]()
[is]()
[isExtensible]()
[isFrozen]()
[isSealed]()
[keys]()
[preventExtensions]()
[seal]()
[setPrototypeOf]()
[values]()
[prototype.constructor]()
[prototype.__proto__]()
[prototype.__defineGetter__]()
[prototype.__defineSetter__]()
[prototype.__lookupGetter__]()
[prototype.__lookupSetter__]()
[prototype.hasOwnProperty]()
[prototype.isPrototypeOf]()
[prototype.propertyIsEnumerable]()
[prototype.toLocaleString]()
[prototype.toString]()
[prototype.valueOf]()
[constructor]()
[__proto__]()
[__defineGetter__]()
[__defineSetter__]()
[__lookupGetter__]()
[__lookupSetter__]()
[hasOwnProperty]()
[isPrototypeOf]()
[propertyIsEnumerable]()
[toLocaleString]()
[toString]()
[valueOf]()