diff --git a/docs/script.js b/docs/script.js index 7852229..f6dfaa1 100644 --- a/docs/script.js +++ b/docs/script.js @@ -227,7 +227,58 @@ const sampleCollection = [ `, }, { - title: 'avatar', + title: 'tables', + showCode: false, + code: `
+ + + + + + + + + + + + + + + + + + + + + + + +
Table.is-borderedTable.is-centeredTable.is-centeredTable.is-centered
Thou hast had a good morningThou hast had a good afternoonThou hast had a good eveningThou hast had a good night
Thou hast had a good morningThou hast had a good afternoonThou hast had a good eveningThou hast had a good night
+
+ +
+ + + + + + + + + + + + + + + + + +
Table.is-darkTable.is-bordered
Thou hast had a good morningThou hast had a good afternon
Thou hast had a good morningThou hast had a good afternoon
+
`, + }, + { + title: 'avatars', description: 'It is recommended to "image-rendering: pixelated".', showCode: false, code: `Gravatar image example @@ -344,6 +395,9 @@ new Vue({ }, mounted() { hljs.initHighlightingOnLoad(); + [].forEach.call(document.querySelectorAll('dialog'), (a) => { + dialogPolyfill.registerDialog(a); + }); }, methods: { copy(event, id) {