-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
74 additions
and
16 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
href="https://esm.sh/jsr/@celine/[email protected]/cell.css" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://esm.sh/jsr/@celine/libertine@10.1.0/libertine.css" /> --> | ||
href="https://esm.sh/jsr/@celine/libertine@11.0.0/libertine.css" /> --> | ||
|
||
<meta property="og:image" content="https://maxbo.me/celine/bibhtml/static/og.png"> | ||
<meta name="twitter:image" content="https://maxbo.me/celine/bibhtml/static/og.png"> | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
href="https://esm.sh/jsr/@celine/[email protected]/cell.css" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://esm.sh/jsr/@celine/libertine@10.1.0/libertine.css" /> --> | ||
href="https://esm.sh/jsr/@celine/libertine@11.0.0/libertine.css" /> --> | ||
|
||
<meta name="theme-color" content="#ffffff"> | ||
|
||
|
@@ -255,7 +255,7 @@ <h2><a href="#installation" id="installation"></a>Installation</h2> | |
<pre class="echo" style="margin-bottom: 1ch;"> | ||
<link | ||
rel="stylesheet" | ||
href="https://esm.sh/jsr/@celine/libertine@10.1.0/libertine.css" /> | ||
href="https://esm.sh/jsr/@celine/libertine@11.0.0/libertine.css" /> | ||
</pre> | ||
|
||
<h2><a href="#demo" id="demo"></a>Demo: Observable Plot + SQLite</h2> | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@celine/libertine", | ||
"version": "10.1.0", | ||
"version": "11.0.0", | ||
"license": "MIT", | ||
"exports": "./mod.ts" | ||
} |
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
href="https://esm.sh/jsr/@celine/[email protected]/cell.css" /> | ||
<link | ||
rel="stylesheet" --> | ||
<!-- href="https://esm.sh/jsr/@celine/libertine@10.1.0/libertine.css" /> --> | ||
<!-- href="https://esm.sh/jsr/@celine/libertine@11.0.0/libertine.css" /> --> | ||
|
||
<script type="module"> | ||
import { CelineModule, registerScriptReevaluationOnBlur } from 'https://esm.sh/jsr/@celine/[email protected]'; | ||
|
@@ -91,7 +91,7 @@ <h1>@celine/libertine</h1> | |
<th>JSR</th> | ||
<td class="width-auto"><a href="https://jsr.io/@celine/libertine">jsr.io/<wbr>@celine/<wbr>libertine</a> + <a href="https://jsr.io/@celine/libertine/doc">/docs</a></td> | ||
<th>Version</th> | ||
<td class="width-min"><a href="https://jsr.io/@celine/libertine/versions" id="version">10.1.0</a>, <time id="updated">Nov 29 2024</time></td> | ||
<td class="width-min"><a href="https://jsr.io/@celine/libertine/versions" id="version">11.0.0</a>, <time id="updated">Nov 29 2024</time></td> | ||
</tr> | ||
<script type="module"> | ||
fetch("https://npm.jsr.io/@jsr/celine__libertine") | ||
|
@@ -113,7 +113,7 @@ <h2><a href="#installation" id="installation"></a>Installation</h2> | |
<pre class="echo" style="margin-bottom: 1ch;" id="import"> | ||
<link | ||
rel="stylesheet" | ||
href="https://esm.sh/jsr/@celine/libertine@10.1.0/libertine.css" /> | ||
href="https://esm.sh/jsr/@celine/libertine@11.0.0/libertine.css" /> | ||
</pre> | ||
|
||
<h2><a href="#fonts" id="fonts"></a>Fonts</h2> | ||
|
@@ -322,20 +322,29 @@ <h2><a href="#classes" id="classes"></a>Classes</h2> | |
|
||
<h2><a href="#elements" id="elements"></a>Elements</h2> | ||
|
||
|
||
<p> | ||
<code><code></code> is used to display inline code. | ||
</p> | ||
|
||
<p> | ||
<code><main></code> applies a <code>max-width</code> and <code>margin: 0 auto</code> to center content. | ||
</p> | ||
|
||
<p> | ||
<abbr><abbr></abbr> is used to display an abbreviation. | ||
<abbr>HTML</abbr> <code><abbr></code> is used to display an abbreviation. | ||
</p> | ||
|
||
<p> | ||
<code><code></code> is used to display inline code. | ||
<kbd>Esc</kbd> <code><kbd></code> is used to display keyboard buttons. | ||
</p> | ||
|
||
<p> | ||
<kbd><kbd></kbd> is used to display keyboard buttons. | ||
<time datetime="2018-07-07">July 7</time>. The <code><time></code> element is used to display a date or time. | ||
</p> | ||
|
||
<p> | ||
<output><output></output> is used to display the result of a calculation. | ||
</p> | ||
|
||
<blockquote> | ||
|
@@ -346,20 +355,46 @@ <h2><a href="#elements" id="elements"></a>Elements</h2> | |
<aside> is used to display content related to the main content. | ||
</aside> | ||
|
||
<figure> | ||
<img src="https://via.placeholder.com/150" alt="Placeholder image"> | ||
<figcaption>This is <figcaption> in a <figure>.</figcaption> | ||
</figure> | ||
|
||
<pre> | ||
<pre> is used to display preformatted text. | ||
</pre> | ||
|
||
<pre> | ||
<code><code> inside of a <pre> has syntax highlighting | ||
<code><code> inside of a <pre> is used to apply syntax highlighting. | ||
console.log("Hello, world!");</code> | ||
</pre> | ||
|
||
<figure> | ||
<img src="https://picsum.photos/300/200" alt="Placeholder image"> | ||
<figcaption><figcaption> is used to annotate a <figure>.</figcaption> | ||
</figure> | ||
|
||
<figure class="card"> | ||
<img src="https://picsum.photos/300/200" alt="Placeholder image"> | ||
<figcaption>Add the <code>.card</code> class to <code><figure></code> for an alternate styling.</figcaption> | ||
</figure> | ||
|
||
<p> | ||
Parameterizing Observable Plot's <a href="https://observablehq.com/plot/features/plots"><code>className</code> option</a> with <code>"card"</code> | ||
will set <code>class="card-figure"</code> on the <code><figure></code> element. Thus, the <code>.card</code> class is also aliased to <code>.card-figure</code></a> | ||
</p> | ||
|
||
<script id="plot-example" class="echo reflect" type="module" contenteditable="true"> | ||
import * as Plot from 'https://esm.run/@observablehq/[email protected]'; | ||
|
||
celine.cell("plot-example", () => { | ||
return Plot.plot({ | ||
className: 'card', | ||
title: htl.html`<h3>Card plot demo</h3>`, | ||
caption: "Squiggly line go up", | ||
marks: [ | ||
Plot.lineY([1, 4, 3, 2, 5]) | ||
] | ||
}); | ||
}); | ||
</script> | ||
|
||
|
||
<h3><a id="silcrow" href="#silcrow"></a>Headers / silcrow</h3> | ||
|
||
<div id="silcrow-container"><h1><a id="h1" href="#h1"></a>h1</h1> | ||
|
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