scholarmarkdown 2.7.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fba287ed1d5fbae2ef85bcf3333f1d29403eb373f070c42e2f3d91cdb7297ab
4
- data.tar.gz: 4547309624c5c25e20e42bf2717834b2e57adc02090bb9af2e1c0509c76a20d1
3
+ metadata.gz: fb20cd9d0e6eb8dcf38b7294b0ef8524eb31be1bf45be015adc9bd400018efdc
4
+ data.tar.gz: 1087ce09881ed968864dc0cc5cd984b31048b81f337522efedc5d3432eeb3217
5
5
  SHA512:
6
- metadata.gz: 5ec3d2ba4b82c31bc9cbb41386fdc21e56484c5dc82eab838d82549e6edd7f90b7ab002811477a9d11d893f03a3ef4951ba34393f42bd547386650fc1c9dbc84
7
- data.tar.gz: 4b6e51642a582b7756b8ebedadceb7caa03c8934bc6bd012c178008c67aecab41646b4f7d8adb1dede2623b1c83db06a8584d38f594d5a607bbb2edf64e26f15
6
+ metadata.gz: 485489c8ae326faace480dbb5ac7ca59e528554690bf5f1d6dac785fb49d5828184c62647e439c4965c2e49bfead69fa6181d0969128f992577243bab188cabd
7
+ data.tar.gz: e9ab54a0d9297463a3d017469d054b3d4961309e5f379b829963f6fcebca60d0cf8fba904b550b4ffb9f4d7e40d30776cdabb663c11a2b36e492c68abc85d25d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.7.0
1
+ 2.8.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  This is a great article on the [Semantic Web](cite:cites semanticweb), written in Markdown.
5
5
 
6
- Make sure to [write your document effectively](http://www.treesmapsandtheorems.com/pdfs/TM&Th-2.0-summary.pdf)!
6
+ Make sure to [write your document effectively](https://www.principiae.be/book/pdfs/TM&Th-2.0-summary.pdf)!
7
7
 
8
8
  Write proper introduction.
9
9
  More information on snippets like this can be found on the [ScholarMarkdown wiki](https://github.com/rubensworks/ScholarMarkdown/wiki/Snippets).
@@ -25,3 +25,19 @@ ol.index-entries[depth="1"] {
25
25
  font-weight: normal;
26
26
  }
27
27
  }
28
+
29
+ figure.numbered pre {
30
+ counter-reset: precode;
31
+
32
+ code {
33
+ &::before {
34
+ color: lightgray;
35
+ left: -1.75em;
36
+ text-align: right;
37
+ display: inline-block;
38
+ width: 1.5em;
39
+ content: counter(precode) " ";
40
+ counter-increment: precode;
41
+ }
42
+ }
43
+ }
@@ -67,6 +67,8 @@ def label_type_for document_sections, tag, attributes
67
67
  return 'Equation'
68
68
  when 'subfigure'
69
69
  return 'Subfig.'
70
+ when 'definition'
71
+ return 'Definition'
70
72
  end
71
73
  end
72
74
  end
@@ -163,4 +165,4 @@ def serialize_sections_index_row sections_index, max_depth, depth, root
163
165
  end
164
166
  table += "</ol>"
165
167
  table
166
- end
168
+ end
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: scholarmarkdown 2.7.0 ruby lib
5
+ # stub: scholarmarkdown 2.8.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "scholarmarkdown".freeze
9
- s.version = "2.7.0"
9
+ s.version = "2.8.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Ruben Taelman".freeze]
14
- s.date = "2019-12-05"
14
+ s.date = "2020-04-20"
15
15
  s.email = "rubensworks@gmail.com".freeze
16
16
  s.executables = ["generate-scholarmarkdown".freeze]
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scholarmarkdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruben Taelman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2020-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n