-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-organizng ui preview, tailwind improvements
- Loading branch information
1 parent
1669128
commit 56f24e7
Showing
60 changed files
with
1,873 additions
and
1,984 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
plugins: ['prettier-plugin-tailwindcss'], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
= Admonitions | ||
|
||
== Basic admonitions | ||
|
||
NOTE: An admonition draws the reader's attention to auxiliary information. | ||
|
||
IMPORTANT: Sign off before stepping away from your computer. | ||
|
||
TIP: Look for the warp zone under the bridge. | ||
|
||
CAUTION: Slippery when wet. | ||
|
||
WARNING: The software you're about to use is untested. | ||
|
||
== Complex admonition | ||
[NOTE] | ||
==== | ||
An admonition block may contain complex content, like <<lists,lists>> and <<tables,tables>>. | ||
.A list | ||
* List item | ||
** Nested list item | ||
*** Deeper nested list item | ||
* List item | ||
** Another nested list item | ||
* List item | ||
.A table | ||
[cols="3*"] | ||
|=== | ||
|Cell in column 1, row 1 | ||
|Cell in column 2, row 1 | ||
|Cell in column 1, row 2 | ||
|Cell in column 2, row 2 | ||
|Cell in column 1, row 3 | ||
|Cell in column 2, row 3 | ||
|=== | ||
.A code block | ||
[source,js] | ||
---- | ||
vfs | ||
.src('js/vendor/*.js', { cwd: 'src', cwdbase: true, read: false }) | ||
.pipe(tap((file) => { // <.> | ||
file.contents = browserify(file.relative, { basedir: 'src', detectGlobals: false }).bundle() | ||
})) | ||
---- | ||
<.> Maybe with a callout. | ||
.Another admonition | ||
[TIP] | ||
====== | ||
Admonition styles are set on example blocks, which are delimited by four equal signs (`====`). | ||
When nesting a delimited block that uses the same structural container, it's necessary to vary the length of the delimiter lines (i.e., make the length of the delimiter lines for the child block different than the length of the delimiter lines for the parent block). | ||
Varying the delimiter line length allows the parser to distinguish one block from another. | ||
====== | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
= Blocks | ||
|
||
== Sidebar | ||
|
||
.Sidebar title | ||
**** | ||
Sidebars are used to visually separate auxiliary bits of content that supplement the main text. | ||
**** | ||
|
||
== Horizontal rule | ||
|
||
A line with three single quotation marks (i.e., `'''`) is a special macro that inserts a thematic break (aka horizontal rule): | ||
|
||
''' | ||
|
||
There are rare circumstances where a horizontal rule is required. | ||
|
||
== More blocks | ||
|
||
As you might have seen in the examples further up on this page -- any block can have a title. | ||
A block title is defined using a line of text above the block that starts with a dot. | ||
That dot cannot be followed by a space. | ||
For block images, the title is displayed below the block. | ||
For all other blocks, the title is typically displayed above it. | ||
|
||
=== Example block | ||
|
||
.Optional title | ||
==== | ||
Here's a sample AsciiDoc document: | ||
[source,asciidoc] | ||
---- | ||
= Title of Document | ||
Doc Writer | ||
:toc: | ||
This guide provides... | ||
---- | ||
The document header is useful, but not required. | ||
==== | ||
|
||
=== Listing block | ||
|
||
.Optional title | ||
---- | ||
This is a _delimited listing block_. | ||
The content inside is displayed as <pre> text. | ||
---- | ||
|
||
=== Literal block | ||
|
||
.Optional title | ||
.... | ||
error: 1954 Forbidden search | ||
absolutely fatal: operation lost in the dodecahedron of doom | ||
Would you like to try again? y/n | ||
.... | ||
|
||
=== Blockquote | ||
|
||
[,'Famous Person. Cum dicat putant ne.','Cum dicat putant ne. https://example.com[Famous Person Website]'] | ||
____ | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Mauris eget leo nunc, nec tempus mi? Curabitur id nisl mi, ut vulputate urna. | ||
Quisque porta facilisis tortor, vitae bibendum velit fringilla vitae! | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Mauris eget leo nunc, nec tempus mi? Curabitur id nisl mi, ut vulputate urna. | ||
Quisque porta facilisis tortor, vitae bibendum velit fringilla vitae! | ||
____ | ||
|
||
=== Verse | ||
|
||
[verse] | ||
____ | ||
The fog comes | ||
on little cat feet. | ||
____ | ||
|
||
== Equations and formulas (STEM) | ||
|
||
=== Inline stem macro | ||
|
||
stem:[sqrt(4) = 2] | ||
|
||
Water (stem:[H_2O]) is a critical component. | ||
|
||
A matrix can be written as stem:[[[a,b\],[c,d\]\]((n),(k))]. | ||
|
||
=== Block STEM content | ||
|
||
[stem] | ||
++++ | ||
sqrt(4) = 2 | ||
++++ | ||
|
||
=== Mixing STEM notations | ||
|
||
.An e-xciting limit with LaTeX! | ||
[stem] | ||
++++ | ||
\lim_{n \to \infty}\frac{n}{\sqrt[n]{n!}} = {\large e} | ||
++++ | ||
|
||
.A basic square root with AsciiMath | ||
[asciimath] | ||
++++ | ||
sqrt(4) = 2 | ||
++++ | ||
|
||
== Collapsible Blocks | ||
|
||
.Basic collapsible block | ||
[%collapsible] | ||
==== | ||
Details. | ||
Loads of details. | ||
==== | ||
|
||
.Collapsible `code block` | ||
[%collapsible] | ||
==== | ||
[source,asciidoc] | ||
---- | ||
Some code. | ||
---- | ||
==== | ||
|
||
== Collapsible results | ||
|
||
[source,asciidoc] | ||
---- | ||
Run this code. | ||
---- | ||
|
||
.Result | ||
[%collapsible.result] | ||
==== | ||
[source,console] | ||
---- | ||
Voila! | ||
---- | ||
==== |
Oops, something went wrong.