packages feed

mmark-cli 0.0.2.0 → 0.0.3.0

raw patch · 4 files changed

+13/−17 lines, 4 filesdep −skylightingdep ~aesondep ~mmark-ext

Dependencies removed: skylighting

Dependency ranges changed: aeson, mmark-ext

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+## MMark CLI 0.0.3.0++* This version works with `mmark-ext-0.2.0.0` and later.+ ## MMark CLI 0.0.2.0  * Added two new extensions: footnotes (`--ext-footnotes`) and MathJax
README.md view
@@ -291,8 +291,8 @@ package to render code blocks with info strings that result in a successful lookup from the syntax table that comes with the library. -The resulting markup is wrapped with spans as described in the docs for-[`formatHtmlInline`](https://hackage.haskell.org/package/skylighting/docs/Skylighting-Format-HTML.html#v:formatHtmlInline).+The resulting HTML will be rendered as described+[here](https://hackage.haskell.org/package/mmark-ext-0.2.0.0/docs/Text-MMark-Extension-Skylighting.html#v:skylighting).  Example: @@ -306,16 +306,10 @@ ``` ----------------------- Control-D <p>Some Haskell:</p>-<div class="sourceCode">-  <pre class="sourceCode">-    <code class="sourceCode">-      <a class="sourceLine" id="1" data-line-number="1">-        <span class="ot">main ::</span> <span class="dt">IO</span> ()-      </a>-      <a class="sourceLine" id="2" data-line-number="2">main <span class="fu">=</span> return ()</a>-    </code>-  </pre>-</div>+<div class="source-code"><pre><code class="language-haskell">+<span class="ot">main ::</span><span> </span><span class="dt">IO</span><span> ()</span>+<span>main </span><span class="fu">=</span><span> return ()</span>+</code></pre></div> ````  ### Table of contents
app/Main.hs view
@@ -17,7 +17,6 @@ import Development.GitRev import Options.Applicative hiding (ParseError) import Paths_mmark_cli (version)-import Skylighting (defaultFormatOpts) import System.Directory (makeAbsolute) import System.Exit (exitFailure) import Text.MMark (MMarkErr)@@ -63,7 +62,7 @@             , f optExtMathJax               (Ext.mathJax (Just '$'))             , g optExtObfuscateEmail        Ext.obfuscateEmail             , f optExtPunctuationPrettifier Ext.punctuationPrettifier-            , f optExtSkylighting           Ext.skylighting defaultFormatOpts+            , f optExtSkylighting           Ext.skylighting             , g optExtToc $ \(from,to) ->                Ext.toc "toc" . MMark.runScanner doc . Ext.tocScanner $ \x ->                  from <= x && x <= to
mmark-cli.cabal view
@@ -1,5 +1,5 @@ name:                 mmark-cli-version:              0.0.2.0+version:              0.0.3.0 cabal-version:        >= 1.18 tested-with:          GHC==8.0.2, GHC==8.2.2 license:              BSD3@@ -35,9 +35,8 @@                     , lucid            >= 2.6   && < 3.0                     , megaparsec       >= 6.4   && < 7.0                     , mmark            >= 0.0.4 && < 0.1-                    , mmark-ext        >= 0.1.1 && < 0.2+                    , mmark-ext        >= 0.2   && < 0.3                     , optparse-applicative >= 0.14 && < 0.15-                    , skylighting      >= 0.5   && < 0.6                     , stache           >= 1.2   && < 1.3                     , text             >= 0.2   && < 1.3                     , unordered-containers >= 0.2.5 && < 0.3