mirror of
https://github.com/xoofx/markdig.git
synced 2026-11-18 10:21:28 +00:00
Update to latest CommonMark specs 0.27
This commit is contained in:
@@ -14,7 +14,7 @@ You can **try Markdig online** and compare it to other implementations on [babel
|
||||
- **Abstract Syntax Tree** with precise source code location for syntax tree, useful when building a Markdown editor.
|
||||
- Checkout [MarkdownEditor for Visual Studio](https://visualstudiogallery.msdn.microsoft.com/eaab33c3-437b-4918-8354-872dfe5d1bfe) powered by Markdig!
|
||||
- Converter to **HTML**
|
||||
- Passing more than **600+ tests** from the latest [CommonMark specs](http://spec.commonmark.org/)
|
||||
- Passing more than **600+ tests** from the latest [CommonMark specs (0.27)](http://spec.commonmark.org/)
|
||||
- Includes all the core elements of CommonMark:
|
||||
- including **GFM fenced code blocks**.
|
||||
- **Extensible** architecture
|
||||
|
||||
@@ -6,8 +6,8 @@ namespace Markdig.Tests
|
||||
// ---
|
||||
// title: CommonMark Spec
|
||||
// author: John MacFarlane
|
||||
// version: 0.26
|
||||
// date: '2016-07-15'
|
||||
// version: 0.27
|
||||
// date: '2016-11-18'
|
||||
// license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)'
|
||||
// ...
|
||||
//
|
||||
@@ -6036,11 +6036,11 @@ namespace Markdig.Tests
|
||||
// If the list item is ordered, then it is also assigned a start
|
||||
// number, based on the ordered list marker.
|
||||
//
|
||||
// Exceptions: When the list item interrupts a paragraph---that
|
||||
// is, when it starts on a line that would otherwise count as
|
||||
// [paragraph continuation text]---then (a) the lines *Ls* must
|
||||
// not begin with a blank line, and (b) if the list item is
|
||||
// ordered, the start number must be 1.
|
||||
// Exceptions: When the first list item in a [list] interrupts
|
||||
// a paragraph---that is, when it starts on a line that would
|
||||
// otherwise count as [paragraph continuation text]---then (a)
|
||||
// the lines *Ls* must not begin with a blank line, and (b) if
|
||||
// the list item is ordered, the start number must be 1.
|
||||
//
|
||||
// For example, let *Ls* be the lines
|
||||
[TestFixture]
|
||||
|
||||
@@ -38,8 +38,7 @@ SOFTWARE.
|
||||
<#@ import namespace="System.CodeDom.Compiler" #>
|
||||
<#@ output extension=".cs" #><#
|
||||
var specFiles = new KeyValuePair<string, string>[] {
|
||||
// new KeyValuePair<string, string>("https://raw.githubusercontent.com/jgm/CommonMark/master/spec.txt", string.Empty),
|
||||
new KeyValuePair<string, string>("https://raw.githubusercontent.com/jgm/CommonMark/cfc84164475d3bec8be9482c21a705adc93a54f5/spec.txt", string.Empty), // 0.26 specs
|
||||
new KeyValuePair<string, string>("https://raw.githubusercontent.com/jgm/CommonMark/791b1c121f16d3d7e80837c6f52917e57bbb2f61/spec.txt", string.Empty), // 0.27
|
||||
new KeyValuePair<string, string>(Host.ResolvePath("PipeTableSpecs.md"), "pipetables|advanced"),
|
||||
new KeyValuePair<string, string>(Host.ResolvePath("FootnotesSpecs.md"), "footnotes|advanced"),
|
||||
new KeyValuePair<string, string>(Host.ResolvePath("GenericAttributesSpecs.md"), "attributes|advanced"),
|
||||
|
||||
Reference in New Issue
Block a user