presently 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/presently/slide.rb +2 -2
- data/lib/presently/version.rb +1 -1
- data/readme.md +5 -5
- data/releases.md +5 -0
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 844d33f102414b2087736e413c95f136363292add732cabb96cdb3910ed0f81c
|
|
4
|
+
data.tar.gz: 6d1e4cbfa13f2efba5fb66bea2552b5107a09177ef40bdda42d5950b4a0d3d4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22cf5e3362dbd908de0e48e01d941913124927fd58d8fcd9d66ca83f9884f4426ea1fd8477473199a858171f63769841d876e95f35d12250e87ea72a84a779da
|
|
7
|
+
data.tar.gz: 80c3ce3cf7540038cc69aa291c9ae7f8f5bd00122cf89846c4485fdef2da856f6b51a6fc032e931ffd91fcdddf6a735d3aa51c3aeb1b99392930d0c66fc0796b
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/presently/slide.rb
CHANGED
|
@@ -72,7 +72,7 @@ module Presently
|
|
|
72
72
|
raw = File.read(source_path)
|
|
73
73
|
|
|
74
74
|
# Parse once, with native front matter support.
|
|
75
|
-
document = Markly.parse(raw, flags: Markly::UNSAFE | Markly::FRONT_MATTER, extensions: Fragment::EXTENSIONS)
|
|
75
|
+
document = Markly.parse(raw, flags: Markly::UNSAFE | Markly::FRONT_MATTER | Markly::INLINE_CODE_INFO | Markly::HTML_BLOCK_BLANK_LINES, extensions: Fragment::EXTENSIONS)
|
|
76
76
|
|
|
77
77
|
expand_includes!(document, File.dirname(source_path), presentation.root)
|
|
78
78
|
rewrite_image_urls!(document, source_path, presentation.root)
|
|
@@ -169,7 +169,7 @@ module Presently
|
|
|
169
169
|
to_replace.each do |paragraph, relative_path|
|
|
170
170
|
included_path = File.expand_path(relative_path, base_dir)
|
|
171
171
|
included_raw = File.read(included_path)
|
|
172
|
-
included_document = Markly.parse(included_raw, flags: Markly::UNSAFE | Markly::FRONT_MATTER, extensions: Fragment::EXTENSIONS)
|
|
172
|
+
included_document = Markly.parse(included_raw, flags: Markly::UNSAFE | Markly::FRONT_MATTER | Markly::INLINE_CODE_INFO | Markly::HTML_BLOCK_BLANK_LINES, extensions: Fragment::EXTENSIONS)
|
|
173
173
|
|
|
174
174
|
# Strip front matter from included file if present.
|
|
175
175
|
front_matter_node = included_document.first_child
|
data/lib/presently/version.rb
CHANGED
data/readme.md
CHANGED
|
@@ -67,6 +67,11 @@ The task records the presentation at 1920×1080 and 30 frames per second by defa
|
|
|
67
67
|
|
|
68
68
|
Please see the [project releases](https://socketry.github.io/presently/releases/index) for all releases.
|
|
69
69
|
|
|
70
|
+
### v0.19.0
|
|
71
|
+
|
|
72
|
+
- Support language-prefixed inline code such as `ruby:` for syntax highlighting.
|
|
73
|
+
- Preserve blank lines within consistently indented HTML blocks in slide Markdown.
|
|
74
|
+
|
|
70
75
|
### v0.18.0
|
|
71
76
|
|
|
72
77
|
- Render slides on a responsive 16:9 canvas across the display, presenter, recording, playback, and export interfaces.
|
|
@@ -114,11 +119,6 @@ q
|
|
|
114
119
|
|
|
115
120
|
- Add `Slide#element` and `SlideContext#element` getters — expose the slide body DOM element directly for cases where `find()` is not sufficient, such as measuring dimensions, attaching event listeners, or integrating third-party libraries.
|
|
116
121
|
|
|
117
|
-
### v0.10.0
|
|
118
|
-
|
|
119
|
-
- Replace internal `SlideChain` with an exported `SlideContext` class. `SlideContext` accumulates elapsed time across `after()` calls exactly as `SlideChain` did, but also exposes `find()`, `setTimeout()`, and a `get elapsed()` getter. `Slide#after()` now returns a `SlideContext` — existing slide scripts are unaffected.
|
|
120
|
-
- Add `Slide#loop(callback, {delay})` — runs a callback in a repeating loop until the slide changes. The callback receives a fresh `SlideContext` each iteration so it can schedule steps with `after()`. The loop waits for all steps to complete (`context.elapsed`) plus an optional extra `delay` before starting the next iteration. All timeouts flow through the slide's existing tracked `setTimeout`, so they are cancelled automatically on slide change.
|
|
121
|
-
|
|
122
122
|
## See Also
|
|
123
123
|
|
|
124
124
|
- [lively](https://github.com/socketry/lively) — The real-time application framework that powers Presently.
|
data/releases.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Releases
|
|
2
2
|
|
|
3
|
+
## v0.19.0
|
|
4
|
+
|
|
5
|
+
- Support language-prefixed inline code such as `ruby:` for syntax highlighting.
|
|
6
|
+
- Preserve blank lines within consistently indented HTML blocks in slide Markdown.
|
|
7
|
+
|
|
3
8
|
## v0.18.0
|
|
4
9
|
|
|
5
10
|
- Render slides on a responsive 16:9 canvas across the display, presenter, recording, playback, and export interfaces.
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: presently
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0.
|
|
75
|
+
version: '0.19'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0.
|
|
82
|
+
version: '0.19'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: async-webdriver
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
|
Binary file
|