From 6785c5d365c11f0927ced5e0dc15f894b0be0869 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Tue, 19 Dec 2017 17:56:00 -0800 Subject: [PATCH] Dactyl v0.7.0 --- README.md | 7 +++++++ dactyl/version.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b11815..2602a4f 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,13 @@ The context provided to the preprocessing and to the `__dactyl_eval__` expressio | `current_time` | `str` | The current time, in the `time_format` specified in the config. (Defaults to YYYY-MM-DD) | | `bypass_errors` | `bool` | If `true`, this build is running with the option to continue through errors where possible. | +The `currentpage` dictionary has the following special fields in this mode: + +| Field | Python Type | Description | +|:------------|:------------|:-------------------------------------------------| +| `plaintext` | `str` | A plaintext-only version of the page's markdown content, with all Markdown and HTML syntax removed. | +| `headermap` | `dict` | A mapping of the page's headers to the unique IDs of those headers in the generated HTML version. | +| `blurb` | `str` | An introductory blurb generated from the page's first paragraph of text. | ### Link Checking diff --git a/dactyl/version.py b/dactyl/version.py index c2d4e00..a71c5c7 100644 --- a/dactyl/version.py +++ b/dactyl/version.py @@ -1 +1 @@ -__version__ = '0.7.0-a10' +__version__ = '0.7.0'