Skip to content

Commit 6785c5d

Browse files
committed
Dactyl v0.7.0
1 parent ff79181 commit 6785c5d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@ The context provided to the preprocessing and to the `__dactyl_eval__` expressio
191191
| `current_time` | `str` | The current time, in the `time_format` specified in the config. (Defaults to YYYY-MM-DD) |
192192
| `bypass_errors` | `bool` | If `true`, this build is running with the option to continue through errors where possible. |
193193

194+
The `currentpage` dictionary has the following special fields in this mode:
195+
196+
| Field | Python Type | Description |
197+
|:------------|:------------|:-------------------------------------------------|
198+
| `plaintext` | `str` | A plaintext-only version of the page's markdown content, with all Markdown and HTML syntax removed. |
199+
| `headermap` | `dict` | A mapping of the page's headers to the unique IDs of those headers in the generated HTML version. |
200+
| `blurb` | `str` | An introductory blurb generated from the page's first paragraph of text. |
194201

195202
### Link Checking
196203

dactyl/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.7.0-a10'
1+
__version__ = '0.7.0'

0 commit comments

Comments
 (0)