summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorlulalala <mark@goodlife.tw>2020-02-25 14:32:03 +0800
committerGitHub <noreply@github.com>2020-02-25 09:32:03 +0300
commit5915ee0fe8dee8219e3f701db9ceb919faa81809 (patch)
treeef1a04d42115a53b693762d7e2aea064529ba7ec /spec/fixtures
parenta85d298b23542683582e6fece5d01eed32247f33 (diff)
include id and role for inline quoting (PR #308)
Based on Asciidoctor::Converter::Html5Converter. * allowing wrapping with <span> * allowing specifying id * allowing specifying class via role
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/inline-quote/book.adoc6
-rw-r--r--spec/fixtures/inline-quote/chapter.adoc13
2 files changed, 19 insertions, 0 deletions
diff --git a/spec/fixtures/inline-quote/book.adoc b/spec/fixtures/inline-quote/book.adoc
new file mode 100644
index 0000000..98917f3
--- /dev/null
+++ b/spec/fixtures/inline-quote/book.adoc
@@ -0,0 +1,6 @@
+= Book title
+:doctype: book
+:idprefix:
+:idseparator: -
+
+include::chapter.adoc[leveloffset=+1]
diff --git a/spec/fixtures/inline-quote/chapter.adoc b/spec/fixtures/inline-quote/chapter.adoc
new file mode 100644
index 0000000..a605977
--- /dev/null
+++ b/spec/fixtures/inline-quote/chapter.adoc
@@ -0,0 +1,13 @@
+= Chapter
+
+[.inline-quote]##Knowledge kills action; action requires the veils of illusion.##
+
+*enclosed in asterisk characters*
+
++enclosed in plus characters+
+
+`single grave accent to the left and a single acute accent to the right'
+
+``two grave accents to the left and two acute accents to the right''
+
+#hashes around text#