We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 233c09f commit 2a20c7fCopy full SHA for 2a20c7f
Formula/p/pandoc-crossref.rb
@@ -30,13 +30,13 @@ def install
30
end
31
32
test do
33
- (testpath/"hello.md").write <<~EOS
+ (testpath/"hello.md").write <<~MARKDOWN
34
Demo for pandoc-crossref.
35
See equation @eq:eqn1 for cross-referencing.
36
Display equations are labelled and numbered
37
38
$$ P_i(x) = \\sum_i a_i x^i $$ {#eq:eqn1}
39
- EOS
+ MARKDOWN
40
output = shell_output("#{Formula["pandoc"].bin}/pandoc -F #{bin}/pandoc-crossref -o out.html hello.md 2>&1")
41
assert_match "∑", (testpath/"out.html").read
42
refute_match "WARNING: pandoc-crossref was compiled", output
0 commit comments