commonmarker 0.16.3 → 0.16.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of commonmarker might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +14 -12
- data/bin/commonmarker +2 -1
- data/ext/commonmarker/commonmarker.c +37 -0
- data/lib/commonmarker/config.rb +1 -0
- data/lib/commonmarker/renderer.rb +32 -4
- data/lib/commonmarker/renderer/html_renderer.rb +61 -29
- data/lib/commonmarker/version.rb +1 -1
- data/test/test_spec.rb +9 -7
- metadata +2 -135
- data/ext/commonmarker/cmark/build/CMakeCache.txt +0 -473
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeCCompiler.cmake +0 -68
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeCXXCompiler.cmake +0 -70
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeSystem.cmake +0 -15
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CompilerIdC/CMakeCCompilerId.c +0 -567
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CompilerIdC/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -539
- data/ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CompilerIdCXX/a.out +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log +0 -14
- data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +0 -637
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +0 -156
- data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +0 -390
- data/ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt +0 -48
- data/ext/commonmarker/cmark/build/CMakeFiles/cmake.check_cache +0 -1
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin +0 -0
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c +0 -34
- data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx +0 -405
- data/ext/commonmarker/cmark/build/CMakeFiles/progress.marks +0 -1
- data/ext/commonmarker/cmark/build/CTestTestfile.cmake +0 -11
- data/ext/commonmarker/cmark/build/Makefile +0 -280
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +0 -35
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +0 -168
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +0 -12
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.make +0 -2
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make +0 -17
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +0 -1
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make +0 -5
- data/ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks +0 -1
- data/ext/commonmarker/cmark/build/api_test/Makefile +0 -302
- data/ext/commonmarker/cmark/build/api_test/cmake_install.cmake +0 -29
- data/ext/commonmarker/cmark/build/cmake_install.cmake +0 -49
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/DependInfo.cmake +0 -36
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/build.make +0 -253
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/cmake_clean.cmake +0 -16
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/depend.make +0 -2
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/flags.make +0 -10
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/link.txt +0 -1
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/progress.make +0 -8
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/C.includecache +0 -220
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/DependInfo.cmake +0 -29
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/autolink.c.o +0 -0
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/build.make +0 -249
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean.cmake +0 -15
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean_target.cmake +0 -3
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/core-extensions.c.o +0 -0
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.internal +0 -100
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.make +0 -100
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/ext_scanners.c.o +0 -0
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/flags.make +0 -10
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/link.txt +0 -2
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/progress.make +0 -8
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/strikethrough.c.o +0 -0
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/table.c.o +0 -0
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/tagfilter.c.o +0 -0
- data/ext/commonmarker/cmark/build/extensions/CMakeFiles/progress.marks +0 -1
- data/ext/commonmarker/cmark/build/extensions/Makefile +0 -426
- data/ext/commonmarker/cmark/build/extensions/cmake_install.cmake +0 -29
- data/ext/commonmarker/cmark/build/extensions/cmarkextensions_export.h +0 -42
- data/ext/commonmarker/cmark/build/extensions/libcmark-gfmextensions.a +0 -0
- data/ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/commonmarker/cmark/build/man/CMakeFiles/progress.marks +0 -1
- data/ext/commonmarker/cmark/build/man/Makefile +0 -196
- data/ext/commonmarker/cmark/build/man/cmake_install.cmake +0 -37
- data/ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark-release.cmake +0 -38
- data/ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark.cmake +0 -95
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/DependInfo.cmake +0 -30
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/build.make +0 -115
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/cmake_clean.cmake +0 -10
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/depend.make +0 -2
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/flags.make +0 -10
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/link.txt +0 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/progress.make +0 -3
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/DependInfo.cmake +0 -58
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/build.make +0 -765
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/cmake_clean.cmake +0 -35
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/depend.make +0 -2
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/flags.make +0 -10
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/link.txt +0 -1
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/progress.make +0 -27
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/C.includecache +0 -622
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/DependInfo.cmake +0 -52
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/arena.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/blocks.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/buffer.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/build.make +0 -762
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean.cmake +0 -34
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean_target.cmake +0 -3
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark_ctype.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/commonmark.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.internal +0 -310
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.make +0 -310
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/flags.make +0 -10
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_href_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_e.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_u.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/html.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/inlines.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/iterator.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/latex.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/link.txt +0 -2
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/linked_list.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/man.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/node.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/plaintext.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/plugin.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/progress.make +0 -27
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/references.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/registry.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/render.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/scanners.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/syntax_extension.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/utf8.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/xml.c.o +0 -0
- data/ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks +0 -1
- data/ext/commonmarker/cmark/build/src/Makefile +0 -1099
- data/ext/commonmarker/cmark/build/src/cmake_install.cmake +0 -100
- data/ext/commonmarker/cmark/build/src/cmark_export.h +0 -42
- data/ext/commonmarker/cmark/build/src/cmark_version.h +0 -7
- data/ext/commonmarker/cmark/build/src/config.h +0 -76
- data/ext/commonmarker/cmark/build/src/libcmark-gfm.a +0 -0
- data/ext/commonmarker/cmark/build/src/libcmark-gfm.pc +0 -10
- data/ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/commonmarker/cmark/build/testdir/CMakeFiles/progress.marks +0 -1
- data/ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake +0 -17
- data/ext/commonmarker/cmark/build/testdir/Makefile +0 -196
- data/ext/commonmarker/cmark/build/testdir/cmake_install.cmake +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b55efd0b945c8781f23517de410731b3d2949968
|
4
|
+
data.tar.gz: 0646b61988c1e2a3945a1dfb013dcc9fd36f3063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29cca5037bf400c570a4d95163c0f448169be0672ffe8dc9d309dc4a3687ba7793e412e9d31cb0e378f8bf5c83cdcc5649d61682159892777f021f7f3ef30d94
|
7
|
+
data.tar.gz: 99707c291528f130ec808985930c7bf82e3d6884209b31782205dc02ac8f46bb7f4c261a5abb076ab0b3001652e3fff4299acebb59adbad3c9a7ced09a7f740d
|
data/README.md
CHANGED
@@ -127,21 +127,23 @@ CommonMarker accepts the same options that CMark does, as symbols. Note that the
|
|
127
127
|
|
128
128
|
### Parse options
|
129
129
|
|
130
|
-
| Name
|
131
|
-
|
132
|
-
| `:DEFAULT`
|
133
|
-
| `:SMART`
|
134
|
-
| `:VALIDATE_UTF8`
|
135
|
-
| `:LIBERAL_HTML_TAG`
|
130
|
+
| Name | Description
|
131
|
+
| ------------------- | -----------
|
132
|
+
| `:DEFAULT` | The default parsing system.
|
133
|
+
| `:SMART` | Use smart punctuation (curly quotes, etc.).
|
134
|
+
| `:VALIDATE_UTF8` | Replace illegal sequences with the replacement character `U+FFFD`.
|
135
|
+
| `:LIBERAL_HTML_TAG` | Support liberal parsing of inline HTML tags.
|
136
136
|
|
137
137
|
### Render options
|
138
138
|
|
139
|
-
| Name
|
140
|
-
|
141
|
-
| `:DEFAULT`
|
142
|
-
| `:SOURCEPOS`
|
143
|
-
| `:HARDBREAKS`
|
144
|
-
| `:
|
139
|
+
| Name | Description
|
140
|
+
| ------------------ | -----------
|
141
|
+
| `:DEFAULT` | The default rendering system.
|
142
|
+
| `:SOURCEPOS` | Include source position in rendered HTML.
|
143
|
+
| `:HARDBREAKS` | Treat `\n` as hardbreaks (by adding `<br/>`).
|
144
|
+
| `:NOBREAKS` | Translate `\n` in the source to a single whitespace.
|
145
|
+
| `:SAFE` | Suppress raw HTML and unsafe links.
|
146
|
+
| `:GITHUB_PRE_LANG` | Use GitHub-style `<pre lang>` for fenced code blocks.
|
145
147
|
|
146
148
|
### Passing options
|
147
149
|
|
data/bin/commonmarker
CHANGED
@@ -30,7 +30,7 @@ active_extensions = []
|
|
30
30
|
renderer = nil
|
31
31
|
ARGV.delete_if do |arg|
|
32
32
|
if arg =~ /^--html-renderer$/
|
33
|
-
renderer =
|
33
|
+
renderer = true
|
34
34
|
true
|
35
35
|
elsif arg =~ /^--list-extensions$/
|
36
36
|
puts extensions
|
@@ -51,6 +51,7 @@ end
|
|
51
51
|
doc = CommonMarker.render_doc(ARGF.read, :DEFAULT, active_extensions)
|
52
52
|
|
53
53
|
if renderer
|
54
|
+
renderer = CommonMarker::HtmlRenderer.new(extensions: active_extensions)
|
54
55
|
STDOUT.write(renderer.render(doc))
|
55
56
|
else
|
56
57
|
STDOUT.write(doc.to_html(:DEFAULT, active_extensions))
|
@@ -32,6 +32,10 @@ static VALUE sym_image;
|
|
32
32
|
static VALUE sym_bullet_list;
|
33
33
|
static VALUE sym_ordered_list;
|
34
34
|
|
35
|
+
static VALUE sym_left;
|
36
|
+
static VALUE sym_right;
|
37
|
+
static VALUE sym_center;
|
38
|
+
|
35
39
|
static VALUE encode_utf8_string(const char *c_string) {
|
36
40
|
VALUE string = rb_str_new2(c_string);
|
37
41
|
int enc = rb_enc_find_index("UTF-8");
|
@@ -1000,6 +1004,34 @@ static VALUE rb_node_set_fence_info(VALUE self, VALUE info) {
|
|
1000
1004
|
return Qnil;
|
1001
1005
|
}
|
1002
1006
|
|
1007
|
+
static VALUE rb_node_get_table_alignments(VALUE self) {
|
1008
|
+
uint16_t column_count, i;
|
1009
|
+
uint8_t *alignments;
|
1010
|
+
cmark_node *node;
|
1011
|
+
VALUE ary;
|
1012
|
+
Data_Get_Struct(self, cmark_node, node);
|
1013
|
+
|
1014
|
+
column_count = cmarkextensions_get_table_columns(node);
|
1015
|
+
alignments = cmarkextensions_get_table_alignments(node);
|
1016
|
+
|
1017
|
+
if (!column_count || !alignments) {
|
1018
|
+
rb_raise(rb_mNodeError, "could not get column_count or alignments");
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
ary = rb_ary_new();
|
1022
|
+
for (i = 0; i < column_count; ++i) {
|
1023
|
+
if (alignments[i] == 'l')
|
1024
|
+
rb_ary_push(ary, sym_left);
|
1025
|
+
else if (alignments[i] == 'c')
|
1026
|
+
rb_ary_push(ary, sym_center);
|
1027
|
+
else if (alignments[i] == 'r')
|
1028
|
+
rb_ary_push(ary, sym_right);
|
1029
|
+
else
|
1030
|
+
rb_ary_push(ary, Qnil);
|
1031
|
+
}
|
1032
|
+
return ary;
|
1033
|
+
}
|
1034
|
+
|
1003
1035
|
/* Internal: Escapes href URLs safely. */
|
1004
1036
|
static VALUE rb_html_escape_href(VALUE self, VALUE rb_text) {
|
1005
1037
|
char *result;
|
@@ -1080,6 +1112,10 @@ __attribute__((visibility("default"))) void Init_commonmarker() {
|
|
1080
1112
|
sym_bullet_list = ID2SYM(rb_intern("bullet_list"));
|
1081
1113
|
sym_ordered_list = ID2SYM(rb_intern("ordered_list"));
|
1082
1114
|
|
1115
|
+
sym_left = ID2SYM(rb_intern("left"));
|
1116
|
+
sym_right = ID2SYM(rb_intern("right"));
|
1117
|
+
sym_center = ID2SYM(rb_intern("center"));
|
1118
|
+
|
1083
1119
|
module = rb_define_module("CommonMarker");
|
1084
1120
|
rb_define_singleton_method(module, "extensions", rb_extensions, 0);
|
1085
1121
|
rb_mNodeError = rb_define_class_under(module, "NodeError", rb_eStandardError);
|
@@ -1120,6 +1156,7 @@ __attribute__((visibility("default"))) void Init_commonmarker() {
|
|
1120
1156
|
rb_define_method(rb_mNode, "list_tight=", rb_node_set_list_tight, 1);
|
1121
1157
|
rb_define_method(rb_mNode, "fence_info", rb_node_get_fence_info, 0);
|
1122
1158
|
rb_define_method(rb_mNode, "fence_info=", rb_node_set_fence_info, 1);
|
1159
|
+
rb_define_method(rb_mNode, "table_alignments", rb_node_get_table_alignments, 0);
|
1123
1160
|
|
1124
1161
|
rb_define_method(rb_mNode, "html_escape_href", rb_html_escape_href, 1);
|
1125
1162
|
rb_define_method(rb_mNode, "html_escape_html", rb_html_escape_html, 1);
|
data/lib/commonmarker/config.rb
CHANGED
@@ -4,13 +4,14 @@ require 'stringio'
|
|
4
4
|
module CommonMarker
|
5
5
|
class Renderer
|
6
6
|
attr_accessor :in_tight, :warnings, :in_plain
|
7
|
-
def initialize
|
7
|
+
def initialize(options: :DEFAULT, extensions: [])
|
8
|
+
@opts = Config.process_options(options, :render)
|
8
9
|
@stream = StringIO.new("".force_encoding("utf-8"))
|
9
10
|
@need_blocksep = false
|
10
11
|
@warnings = Set.new []
|
11
12
|
@in_tight = false
|
12
13
|
@in_plain = false
|
13
|
-
@
|
14
|
+
@tagfilter = extensions.include?(:tagfilter)
|
14
15
|
end
|
15
16
|
|
16
17
|
def out(*args)
|
@@ -22,7 +23,6 @@ module CommonMarker
|
|
22
23
|
elsif arg.is_a?(Node)
|
23
24
|
render(arg)
|
24
25
|
else
|
25
|
-
@buffer << arg.to_s.force_encoding('utf-8')
|
26
26
|
@stream.write(arg)
|
27
27
|
end
|
28
28
|
end
|
@@ -57,7 +57,7 @@ module CommonMarker
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def cr
|
60
|
-
return if @
|
60
|
+
return if @stream.string.empty? || @stream.string[-1] == "\n"
|
61
61
|
out("\n")
|
62
62
|
end
|
63
63
|
|
@@ -97,5 +97,33 @@ module CommonMarker
|
|
97
97
|
def escape_html(str)
|
98
98
|
@node.html_escape_html(str)
|
99
99
|
end
|
100
|
+
|
101
|
+
def tagfilter(str)
|
102
|
+
if @tagfilter
|
103
|
+
str.gsub(
|
104
|
+
%r{
|
105
|
+
<
|
106
|
+
(
|
107
|
+
title|textarea|style|xmp|iframe|
|
108
|
+
noembed|noframes|script|plaintext
|
109
|
+
)
|
110
|
+
(?=\s|>|/>)
|
111
|
+
}x,
|
112
|
+
'<\1')
|
113
|
+
else
|
114
|
+
str
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
def sourcepos(node)
|
119
|
+
return "" unless option_enabled?(:SOURCEPOS)
|
120
|
+
s = node.sourcepos
|
121
|
+
" data-sourcepos=\"#{s[:start_line]}:#{s[:start_column]}-" \
|
122
|
+
"#{s[:end_line]}:#{s[:end_column]}\""
|
123
|
+
end
|
124
|
+
|
125
|
+
def option_enabled?(opt)
|
126
|
+
(@opts & CommonMarker::Config::Render.value(opt)) != 0
|
127
|
+
end
|
100
128
|
end
|
101
129
|
end
|
@@ -6,7 +6,7 @@ module CommonMarker
|
|
6
6
|
|
7
7
|
def header(node)
|
8
8
|
block do
|
9
|
-
out('<h', node.header_level,
|
9
|
+
out('<h', node.header_level, "#{sourcepos(node)}>", :children,
|
10
10
|
'</h', node.header_level, '>')
|
11
11
|
end
|
12
12
|
end
|
@@ -16,7 +16,7 @@ module CommonMarker
|
|
16
16
|
out(:children)
|
17
17
|
else
|
18
18
|
block do
|
19
|
-
container(
|
19
|
+
container("<p#{sourcepos(node)}>", '</p>') do
|
20
20
|
out(:children)
|
21
21
|
end
|
22
22
|
end
|
@@ -29,14 +29,14 @@ module CommonMarker
|
|
29
29
|
|
30
30
|
block do
|
31
31
|
if node.list_type == :bullet_list
|
32
|
-
container("<ul>\n", '</ul>') do
|
32
|
+
container("<ul#{sourcepos(node)}>\n", '</ul>') do
|
33
33
|
out(:children)
|
34
34
|
end
|
35
35
|
else
|
36
36
|
start = if node.list_start == 1
|
37
|
-
"<ol>\n"
|
37
|
+
"<ol#{sourcepos(node)}>\n"
|
38
38
|
else
|
39
|
-
"<ol start=\"#{node.list_start}\">\n"
|
39
|
+
"<ol start=\"#{node.list_start}\"#{sourcepos(node)}>\n"
|
40
40
|
end
|
41
41
|
container(start, '</ol>') do
|
42
42
|
out(:children)
|
@@ -47,35 +47,43 @@ module CommonMarker
|
|
47
47
|
@in_tight = old_in_tight
|
48
48
|
end
|
49
49
|
|
50
|
-
def list_item(
|
50
|
+
def list_item(node)
|
51
51
|
block do
|
52
|
-
container(
|
52
|
+
container("<li#{sourcepos(node)}>", '</li>') do
|
53
53
|
out(:children)
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
def blockquote(
|
58
|
+
def blockquote(node)
|
59
59
|
block do
|
60
|
-
container("<blockquote>\n", '</blockquote>') do
|
60
|
+
container("<blockquote#{sourcepos(node)}>\n", '</blockquote>') do
|
61
61
|
out(:children)
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
def hrule(
|
66
|
+
def hrule(node)
|
67
67
|
block do
|
68
|
-
out(
|
68
|
+
out("<hr#{sourcepos(node)} />")
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
72
|
def code_block(node)
|
73
73
|
block do
|
74
|
-
|
75
|
-
|
76
|
-
|
74
|
+
if option_enabled?(:GITHUB_PRE_LANG)
|
75
|
+
out("<pre#{sourcepos(node)}")
|
76
|
+
if node.fence_info && !node.fence_info.empty?
|
77
|
+
out(' lang="', node.fence_info.split(/\s+/)[0], '"')
|
78
|
+
end
|
79
|
+
out('><code>')
|
77
80
|
else
|
78
|
-
out(
|
81
|
+
out("<pre#{sourcepos(node)}><code")
|
82
|
+
if node.fence_info && !node.fence_info.empty?
|
83
|
+
out(' class="language-', node.fence_info.split(/\s+/)[0], '">')
|
84
|
+
else
|
85
|
+
out('>')
|
86
|
+
end
|
79
87
|
end
|
80
88
|
out(escape_html(node.string_content))
|
81
89
|
out('</code></pre>')
|
@@ -84,12 +92,20 @@ module CommonMarker
|
|
84
92
|
|
85
93
|
def html(node)
|
86
94
|
block do
|
87
|
-
|
95
|
+
if option_enabled?(:SAFE)
|
96
|
+
out('<!-- raw HTML omitted -->')
|
97
|
+
else
|
98
|
+
out(tagfilter(node.string_content))
|
99
|
+
end
|
88
100
|
end
|
89
101
|
end
|
90
102
|
|
91
103
|
def inline_html(node)
|
92
|
-
|
104
|
+
if option_enabled?(:SAFE)
|
105
|
+
out('<!-- raw HTML omitted -->')
|
106
|
+
else
|
107
|
+
out(tagfilter(node.string_content))
|
108
|
+
end
|
93
109
|
end
|
94
110
|
|
95
111
|
def emph(_)
|
@@ -130,34 +146,50 @@ module CommonMarker
|
|
130
146
|
end
|
131
147
|
|
132
148
|
def linebreak(node)
|
133
|
-
out(
|
134
|
-
softbreak(node)
|
149
|
+
out("<br />\n")
|
135
150
|
end
|
136
151
|
|
137
152
|
def softbreak(_)
|
138
|
-
|
153
|
+
if option_enabled?(:HARDBREAKS)
|
154
|
+
out("<br />\n")
|
155
|
+
elsif option_enabled?(:NOBREAKS)
|
156
|
+
out(' ')
|
157
|
+
else
|
158
|
+
out("\n")
|
159
|
+
end
|
139
160
|
end
|
140
161
|
|
141
|
-
def table(
|
142
|
-
|
162
|
+
def table(node)
|
163
|
+
@alignments = node.table_alignments
|
164
|
+
out("<table#{sourcepos(node)}>\n", :children, "</tbody></table>\n")
|
143
165
|
end
|
144
166
|
|
145
|
-
def table_header(
|
167
|
+
def table_header(node)
|
168
|
+
@column_index = 0
|
169
|
+
|
146
170
|
@in_header = true
|
147
|
-
out(
|
171
|
+
out("<thead>\n<tr#{sourcepos(node)}>", :children, "\n</tr>\n</thead>\n<tbody>")
|
148
172
|
@in_header = false
|
149
173
|
end
|
150
174
|
|
151
|
-
def table_row(
|
152
|
-
|
175
|
+
def table_row(node)
|
176
|
+
@column_index = 0
|
177
|
+
out("\n<tr#{sourcepos(node)}>", :children, "\n</tr>")
|
153
178
|
end
|
154
179
|
|
155
|
-
def table_cell(
|
156
|
-
|
180
|
+
def table_cell(node)
|
181
|
+
align = case @alignments[@column_index]
|
182
|
+
when :left; ' align="left"'
|
183
|
+
when :right; ' align="right"'
|
184
|
+
when :center; ' align="center"'
|
185
|
+
else; ''
|
186
|
+
end
|
187
|
+
out(@in_header ? "\n<th#{align}#{sourcepos(node)}>" : "\n<td#{align}#{sourcepos(node)}>", :children, @in_header ? "</th>" : "</td>")
|
188
|
+
@column_index += 1
|
157
189
|
end
|
158
190
|
|
159
191
|
def strikethrough(_)
|
160
|
-
out('<
|
192
|
+
out('<del>', :children, '</del>')
|
161
193
|
end
|
162
194
|
end
|
163
195
|
end
|
data/lib/commonmarker/version.rb
CHANGED
data/test/test_spec.rb
CHANGED
@@ -13,13 +13,15 @@ class TestSpec < Minitest::Test
|
|
13
13
|
assert_equal testcase[:html], actual, testcase[:markdown]
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
16
|
+
define_method("test_html_renderer_example_#{testcase[:example]}") do
|
17
|
+
actual = HtmlRenderer.new(extensions: testcase[:extensions]).render(doc).rstrip
|
18
|
+
assert_equal testcase[:html], actual, testcase[:markdown]
|
19
|
+
end
|
20
|
+
|
21
|
+
define_method("test_sourcepos_example_#{testcase[:example]}") do
|
22
|
+
lhs = doc.to_html(:SOURCEPOS, testcase[:extensions]).rstrip
|
23
|
+
rhs = HtmlRenderer.new(options: :SOURCEPOS, extensions: testcase[:extensions]).render(doc).rstrip
|
24
|
+
assert_equal lhs, rhs, testcase[:markdown]
|
23
25
|
end
|
24
26
|
end
|
25
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commonmarker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-06-
|
12
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-enum
|
@@ -164,139 +164,6 @@ files:
|
|
164
164
|
- ext/commonmarker/cmark/bench/statistics.py
|
165
165
|
- ext/commonmarker/cmark/bench/stats.py
|
166
166
|
- ext/commonmarker/cmark/benchmarks.md
|
167
|
-
- ext/commonmarker/cmark/build/CMakeCache.txt
|
168
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeCCompiler.cmake
|
169
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeCXXCompiler.cmake
|
170
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_C.bin
|
171
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_CXX.bin
|
172
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CMakeSystem.cmake
|
173
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CompilerIdC/CMakeCCompilerId.c
|
174
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CompilerIdC/a.out
|
175
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CompilerIdCXX/CMakeCXXCompilerId.cpp
|
176
|
-
- ext/commonmarker/cmark/build/CMakeFiles/3.8.0/CompilerIdCXX/a.out
|
177
|
-
- ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake
|
178
|
-
- ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log
|
179
|
-
- ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log
|
180
|
-
- ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake
|
181
|
-
- ext/commonmarker/cmark/build/CMakeFiles/Makefile2
|
182
|
-
- ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt
|
183
|
-
- ext/commonmarker/cmark/build/CMakeFiles/cmake.check_cache
|
184
|
-
- ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin
|
185
|
-
- ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c
|
186
|
-
- ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx
|
187
|
-
- ext/commonmarker/cmark/build/CMakeFiles/progress.marks
|
188
|
-
- ext/commonmarker/cmark/build/CTestTestfile.cmake
|
189
|
-
- ext/commonmarker/cmark/build/Makefile
|
190
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake
|
191
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake
|
192
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make
|
193
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake
|
194
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.make
|
195
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make
|
196
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt
|
197
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make
|
198
|
-
- ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks
|
199
|
-
- ext/commonmarker/cmark/build/api_test/Makefile
|
200
|
-
- ext/commonmarker/cmark/build/api_test/cmake_install.cmake
|
201
|
-
- ext/commonmarker/cmark/build/cmake_install.cmake
|
202
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/CMakeDirectoryInformation.cmake
|
203
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/DependInfo.cmake
|
204
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/build.make
|
205
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/cmake_clean.cmake
|
206
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/depend.make
|
207
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/flags.make
|
208
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/link.txt
|
209
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions.dir/progress.make
|
210
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/C.includecache
|
211
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/DependInfo.cmake
|
212
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/autolink.c.o
|
213
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/build.make
|
214
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean.cmake
|
215
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/cmake_clean_target.cmake
|
216
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/core-extensions.c.o
|
217
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.internal
|
218
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/depend.make
|
219
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/ext_scanners.c.o
|
220
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/flags.make
|
221
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/link.txt
|
222
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/progress.make
|
223
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/strikethrough.c.o
|
224
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/table.c.o
|
225
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/libcmark-gfmextensions_static.dir/tagfilter.c.o
|
226
|
-
- ext/commonmarker/cmark/build/extensions/CMakeFiles/progress.marks
|
227
|
-
- ext/commonmarker/cmark/build/extensions/Makefile
|
228
|
-
- ext/commonmarker/cmark/build/extensions/cmake_install.cmake
|
229
|
-
- ext/commonmarker/cmark/build/extensions/cmarkextensions_export.h
|
230
|
-
- ext/commonmarker/cmark/build/extensions/libcmark-gfmextensions.a
|
231
|
-
- ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake
|
232
|
-
- ext/commonmarker/cmark/build/man/CMakeFiles/progress.marks
|
233
|
-
- ext/commonmarker/cmark/build/man/Makefile
|
234
|
-
- ext/commonmarker/cmark/build/man/cmake_install.cmake
|
235
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake
|
236
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark-release.cmake
|
237
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/Export/lib/cmake/cmark.cmake
|
238
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/DependInfo.cmake
|
239
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/build.make
|
240
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/cmake_clean.cmake
|
241
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/depend.make
|
242
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/flags.make
|
243
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/link.txt
|
244
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/cmark-gfm.dir/progress.make
|
245
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/DependInfo.cmake
|
246
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/build.make
|
247
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/cmake_clean.cmake
|
248
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/depend.make
|
249
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/flags.make
|
250
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/link.txt
|
251
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm.dir/progress.make
|
252
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/C.includecache
|
253
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/DependInfo.cmake
|
254
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/arena.c.o
|
255
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/blocks.c.o
|
256
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/buffer.c.o
|
257
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/build.make
|
258
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean.cmake
|
259
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmake_clean_target.cmake
|
260
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark.c.o
|
261
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/cmark_ctype.c.o
|
262
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/commonmark.c.o
|
263
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.internal
|
264
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/depend.make
|
265
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/flags.make
|
266
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_href_e.c.o
|
267
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_e.c.o
|
268
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/houdini_html_u.c.o
|
269
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/html.c.o
|
270
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/inlines.c.o
|
271
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/iterator.c.o
|
272
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/latex.c.o
|
273
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/link.txt
|
274
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/linked_list.c.o
|
275
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/man.c.o
|
276
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/node.c.o
|
277
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/plaintext.c.o
|
278
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/plugin.c.o
|
279
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/progress.make
|
280
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/references.c.o
|
281
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/registry.c.o
|
282
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/render.c.o
|
283
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/scanners.c.o
|
284
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/syntax_extension.c.o
|
285
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/utf8.c.o
|
286
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/libcmark-gfm_static.dir/xml.c.o
|
287
|
-
- ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks
|
288
|
-
- ext/commonmarker/cmark/build/src/Makefile
|
289
|
-
- ext/commonmarker/cmark/build/src/cmake_install.cmake
|
290
|
-
- ext/commonmarker/cmark/build/src/cmark_export.h
|
291
|
-
- ext/commonmarker/cmark/build/src/cmark_version.h
|
292
|
-
- ext/commonmarker/cmark/build/src/config.h
|
293
|
-
- ext/commonmarker/cmark/build/src/libcmark-gfm.a
|
294
|
-
- ext/commonmarker/cmark/build/src/libcmark-gfm.pc
|
295
|
-
- ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake
|
296
|
-
- ext/commonmarker/cmark/build/testdir/CMakeFiles/progress.marks
|
297
|
-
- ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake
|
298
|
-
- ext/commonmarker/cmark/build/testdir/Makefile
|
299
|
-
- ext/commonmarker/cmark/build/testdir/cmake_install.cmake
|
300
167
|
- ext/commonmarker/cmark/changelog.txt
|
301
168
|
- ext/commonmarker/cmark/data/CaseFolding.txt
|
302
169
|
- ext/commonmarker/cmark/extensions/CMakeLists.txt
|