Skip to content

Commit

Permalink
Merge branch 'tools/pandoc-style' into tools/dark-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen authored Aug 28, 2024
2 parents ea37705 + 39c4327 commit 6660c65
Show file tree
Hide file tree
Showing 29 changed files with 28 additions and 91 deletions.
2 changes: 1 addition & 1 deletion docs/odata-csdl-json/odata-csdl-json.html
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ <h3 id="122-acronyms-and-abbreviations"><a name="AcronymsandAbbreviations" href=
<details open><summary>
<h3 id="123-document-conventions"><a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a></h3>
</summary>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Some sections of this specification are illustrated with non-normative examples.</p>
<div class="example">
<p>Example 1: text describing an example uses this paragraph style</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-csdl-json/odata-csdl-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ Section | Feature / Change | Issue

### <a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a>

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
9 changes: 1 addition & 8 deletions docs/odata-csdl-json/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,9 @@ table {

p code,
li code,
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code,
td > code {
font-family: MJXZERO, MJXTEX-T;
font-size: 1em;
line-height: 0;
font-weight: bold;
}

.example p code,
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-csdl-xml/odata-csdl-xml.html
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ <h3 id="122-acronyms-and-abbreviations"><a name="AcronymsandAbbreviations" href=
<details open><summary>
<h3 id="123-document-conventions"><a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a></h3>
</summary>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Some sections of this specification are illustrated with non-normative examples.</p>
<div class="example">
<p>Example 1: text describing an example uses this paragraph style</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-csdl-xml/odata-csdl-xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Section | Feature / Change | Issue

### <a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a>

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
9 changes: 1 addition & 8 deletions docs/odata-csdl-xml/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,9 @@ table {

p code,
li code,
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code,
td > code {
font-family: MJXZERO, MJXTEX-T;
font-size: 1em;
line-height: 0;
font-weight: bold;
}

.example p code,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ <h3 id="112-acronyms-and-abbreviations"><a name="AcronymsandAbbreviations" href=
<details open><summary>
<h3 id="113-document-conventions"><a name="DocumentConventions" href="#DocumentConventions">1.1.3 Document Conventions</a></h3>
</summary>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Some sections of this specification are illustrated with non-normative examples.</p>
<div class="example">
<p>Example 1: text describing an example uses this paragraph style</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ The following non-exhaustive list contains variable names that are used througho

### <a name="DocumentConventions" href="#DocumentConventions">1.1.3 Document Conventions</a>

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
9 changes: 1 addition & 8 deletions docs/odata-data-aggregation-ext/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,9 @@ table {

p code,
li code,
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code,
td > code {
font-family: MJXZERO, MJXTEX-T;
font-size: 1em;
line-height: 0;
font-weight: bold;
}

.example p code,
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-json-format/odata-json-format.html
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ <h3 id="122-acronyms-and-abbreviations"><a name="AcronymsandAbbreviations" href=
<details open><summary>
<h3 id="123-document-conventions"><a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a></h3>
</summary>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Some sections of this specification are illustrated with non-normative examples.</p>
<div class="example">
<p>Example 1: text describing an example uses this paragraph style</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-json-format/odata-json-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ Section | Feature / Change | Issue

### <a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a>

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
9 changes: 1 addition & 8 deletions docs/odata-json-format/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,9 @@ table {

p code,
li code,
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code,
td > code {
font-family: MJXZERO, MJXTEX-T;
font-size: 1em;
line-height: 0;
font-weight: bold;
}

.example p code,
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-protocol/odata-protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ <h3 id="122-acronyms-and-abbreviations"><a name="AcronymsandAbbreviations" href=
<details open><summary>
<h3 id="123-document-conventions"><a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a></h3>
</summary>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Some sections of this specification are illustrated with non-normative examples.</p>
<div class="example">
<p>Example 1: text describing an example uses this paragraph style</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-protocol/odata-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ Section | Feature / Change | Issue

### <a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a>

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
9 changes: 1 addition & 8 deletions docs/odata-protocol/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,9 @@ table {

p code,
li code,
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code,
td > code {
font-family: MJXZERO, MJXTEX-T;
font-size: 1em;
line-height: 0;
font-weight: bold;
}

.example p code,
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-temporal-ext/odata-temporal-ext.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ <h4 id="1216-timeline-entity-set"><a name="TimelineEntitySet" href="#TimelineEnt
<details open><summary>
<h3 id="122-document-conventions"><a name="DocumentConventions" href="#DocumentConventions">1.2.2 Document Conventions</a></h3>
</summary>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Some sections of this specification are illustrated with non-normative examples.</p>
<div class="example">
<p>Example 1: text describing an example uses this paragraph style</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-temporal-ext/odata-temporal-ext.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ with a `Timeline` of type `TimelineVisible`.

### <a name="DocumentConventions" href="#DocumentConventions">1.2.2 Document Conventions</a>

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
9 changes: 1 addition & 8 deletions docs/odata-temporal-ext/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,9 @@ table {

p code,
li code,
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code,
td > code {
font-family: MJXZERO, MJXTEX-T;
font-size: 1em;
line-height: 0;
font-weight: bold;
}

.example p code,
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-url-conventions/odata-url-conventions.html
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ <h3 id="122-acronyms-and-abbreviations"><a name="AcronymsandAbbreviations" href=
<details open><summary>
<h3 id="123-document-conventions"><a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a></h3>
</summary>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Keywords defined by this specification use <code>this monospaced font</code>.</p>
<p>Function signatures in this specification use the following paragraph style:</p>
<pre><code>Type FunctionName(Type Param1, Type Param2)</code></pre>
<p>Some sections of this specification are illustrated with non-normative examples.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-url-conventions/odata-url-conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Section | Feature / Change | Issue

### <a name="DocumentConventions" href="#DocumentConventions">1.2.3 Document Conventions</a>

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Function signatures in this specification use the following paragraph style:
```
Expand Down
9 changes: 1 addition & 8 deletions docs/odata-url-conventions/styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,9 @@ table {

p code,
li code,
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code,
td > code {
font-family: MJXZERO, MJXTEX-T;
font-size: 1em;
line-height: 0;
font-weight: bold;
}

.example p code,
Expand Down
7 changes: 0 additions & 7 deletions lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,6 @@ proc.stdout.pipe(«HTML file»);
new Number("odata-data-aggregation-ext").build(proc.stdin);
```

The HTML file uses CSS stylesheets contained in the [`docs/*/styles`](../docs/odata-data-aggregation-ext/styles) subfolder in order to render keywords in the same font (MathJax Typewriter) whether they occur standalone or in a formula:

| Keyword occurs | Markdown source | Rendered result |
| ------------------ | ---------------------------------- | ------------------------------------ |
| standalone | ``The `aggregate` transformation`` | The ${\tt aggregate}$ transformation |
| in MathJax formula | `${\tt aggregate}(α{\tt\ as\ }D)$` | ${\tt aggregate}(α{\tt\ as\ }D)$ |

A monospaced font (Courier New) is used for OData requests and their JSON or XML responses.

[`npm start`](server.js) starts a web server that serves such HTML files and the static `.css` files without writing intermediate files. This allows authors to see the effects of every change to the source folder in the working tree after saving the source files which triggers a browser auto-refresh.
Expand Down
2 changes: 1 addition & 1 deletion odata-csdl/1 Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Nested `If` without else part in collections|

### ##subsubsec Document Conventions

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
2 changes: 1 addition & 1 deletion odata-data-aggregation-ext/1 Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The following non-exhaustive list contains variable names that are used througho

### ##subsubsec Document Conventions

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
2 changes: 1 addition & 1 deletion odata-json-format/1 Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Allow common expressions in action payloads|

### ##subsubsec Document Conventions

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
2 changes: 1 addition & 1 deletion odata-protocol/1 Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Setting a complex property to a different type|

### ##subsubsec Document Conventions

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
2 changes: 1 addition & 1 deletion odata-temporal-ext/1 Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ with a `Timeline` of type `TimelineVisible`.

### ##subsubsec Document Conventions

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Some sections of this specification are illustrated with non-normative examples.

Expand Down
2 changes: 1 addition & 1 deletion odata-url-conventions/1 Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Allow alternative `$search` syntax|

### ##subsubsec Document Conventions

Keywords defined by this specification use `this monospaced font`.
Keywords defined by this specification use `this monospaced font`.

Function signatures in this specification use the following paragraph style:
```
Expand Down
9 changes: 1 addition & 8 deletions styles/odata.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,9 @@ table {

p code,
li code,
h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code,
td > code {
font-family: MJXZERO, MJXTEX-T;
font-size: 1em;
line-height: 0;
font-weight: bold;
}

.example p code,
Expand Down

0 comments on commit 6660c65

Please sign in to comment.