mirror of
https://github.com/wassname/template.git
synced 2026-09-30 11:43:59 +08:00
Support for sections
This commit is contained in:
1 parent
cc02e9aa20
commit
9e76725bc6
4 files changed
+65
-11
No files matched your search
@@ -21,7 +21,6 @@
|
||||
<dt-article>
|
||||
<h1>How to Create a Distill Article</h1>
|
||||
<h2>A collection of examples and best practices for creating interactive explanatory articles using the Distill web framework</h2>
|
||||
<p>Distill ships with a CSS framework and a collection of custom web components that make building interactive academic articles easier than with raw HTML, CSS and JavaScript. This reference article details several examples and best practices for how to use both frameworks.</p>
|
||||
<hr>
|
||||
<h2>Getting Started</h2>
|
||||
<p>Here is the smallest distill post.</p>
|
||||
@@ -186,6 +185,9 @@
|
||||
</dt-article>
|
||||
</dt-code>
|
||||
<p>You can toggle it on this article by <a onclick="document.querySelector('dt-article').classList.toggle('centered');">clicking here</a></p>
|
||||
<section class="centered">
|
||||
|
||||
</section>
|
||||
<!--
|
||||
<hr>
|
||||
<h2>Including External Files</h2> -->
|
||||
|
||||
Reference in new issue
Block a user