coursegen 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/coursegen/course/lib/nanoc_filters.rb +4 -4
- data/lib/coursegen/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e08a52cfed6836872be228d0a7c6dec8bfa087ee286cf079a76f6db3674a122b
|
4
|
+
data.tar.gz: a8d62798dcb08f373f10b9d632101db57b3a191819b1856e53b1dfe4769744f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3246fa9423de19c68223214da7ffc24a3c10c5b6384a1baf5b8fbeb2504362a7835598103549dbaf74c4c0dc09e409b1d439d19936039baadf15ad9283f32bce
|
7
|
+
data.tar.gz: d018679f27b6895ea70f2692fee9136450a040485fb1e6feaaabea5f567239fff9ade2c9892c1caec1bf906ce9c34f58495f24fd1c0776e1d7e0c2231498cad3
|
data/Gemfile.lock
CHANGED
@@ -5,10 +5,10 @@ Nanoc::Filter.define(:handle_shortcodes) do |content, _params = {}|
|
|
5
5
|
content
|
6
6
|
.gsub(/^\$\$TOPIC_INCLUDE :(\w+)$/) { "<%= include_topic( :#{Regexp.last_match(1)}) %>" }
|
7
7
|
.gsub(/\$\$TOPIC_LINK :(\w+)$/) { "<%= link_to_topic( :#{Regexp.last_match(1)}) %>" }
|
8
|
-
.gsub(
|
9
|
-
.gsub(
|
10
|
-
.gsub(
|
11
|
-
.gsub(
|
8
|
+
.gsub(/\$\$SLIDE_TITLE (.+)$/) { "<slide_break></slide_break>\n\n### #{Regexp.last_match(1)}" }
|
9
|
+
.gsub(/\$\$SLIDE_BREAK$/) { "<slide_break></slide_break>" }
|
10
|
+
.gsub(/\$\$LECTURE_END$/) { end_of_lecture }
|
11
|
+
.gsub(/\$\$LECTURE_BEGIN (.+)$/) { "## #{Regexp.last_match(1)} "}
|
12
12
|
.gsub(Regexp.new(prefix.source + /h1 (.+)$/.source), "# \\1 ")
|
13
13
|
.gsub(Regexp.new(prefix.source + /h2 (.+)$/.source), "## \\1 ")
|
14
14
|
.gsub(Regexp.new(prefix.source + /h3 (.+)$/.source), "### \\1 ")
|
data/lib/coursegen/version.rb
CHANGED