1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00
Commit Graph

13218 Commits

Author SHA1 Message Date
Rick Winfrey
fcedaa1ece Merge branch 'master' into python-test-fixtures 2017-06-08 11:19:33 -07:00
Rick Winfrey
550df8f150 Add newline 2017-06-08 11:17:42 -07:00
Rick Winfrey
f059aec454 Update newlines 2017-06-08 11:07:43 -07:00
Rob Rix
2147fbe7d8 Merge pull request #1151 from github/markdown-table-of-contents
Markdown table of contents
2017-06-08 13:13:44 -04:00
Rob Rix
711b2f3609 Render Markdown tables of contents. 2017-06-08 12:49:53 -04:00
Rob Rix
5ae5ecd98d Re-export markupSectionAlgebra from Renderer. 2017-06-08 12:48:06 -04:00
Rob Rix
35202f9502 Spacing. 2017-06-08 12:46:48 -04:00
Rob Rix
bb1cad8555 Define an algebra for a markup table of contents with section headings. 2017-06-08 12:42:39 -04:00
Rob Rix
152c1e9530 Use the while combinator to define section assignment. 2017-06-08 12:32:47 -04:00
Rob Rix
9ac5d17acd Define a while combinator. 2017-06-08 12:31:09 -04:00
Rob Rix
d90833e998 Add headings to the export list. 2017-06-08 12:26:41 -04:00
Rob Rix
8862df1b8e Parse Markdown into Sections. 2017-06-08 12:24:29 -04:00
Rob Rix
50b55427f6 Define a Section type. 2017-06-08 12:16:40 -04:00
Rob Rix
e4cb8f9329 Merge pull request #1148 from github/abstract-assignment-over-the-input-term-type
Abstract assignment over the input term type
2017-06-08 11:38:39 -04:00
Rob Rix
3f0f24f824 Merge branch 'master' into abstract-assignment-over-the-input-term-type 2017-06-08 10:22:13 -04:00
Timothy Clem
67f1d8936a Merge pull request #1146 from github/add-language-to-parse-response
Return language field in parse JSON response
2017-06-08 07:17:50 -07:00
Timothy Clem
572c24d36d Auto derive ToJSON right in Language.hs 2017-06-08 07:01:03 -07:00
Rob Rix
8695fd3144 List items can contain multiple block elements. 2017-06-08 08:49:51 -04:00
Rob Rix
b019a2b237 Correct the spec. 2017-06-07 20:17:14 -04:00
Rob Rix
571e9fe1aa Alphabetize the languages. 2017-06-07 20:05:16 -04:00
Rob Rix
c1a01b3dd2 Parse Markdown. 2017-06-07 20:04:39 -04:00
Rob Rix
511719b8b6 Diff Markdown. 2017-06-07 20:04:05 -04:00
Rob Rix
ec25974df2 Short-circuit ToC for Markdown.
Later on we’ll want to define tables of contents for markup elements, but we don’t have a way to express their semantic role yet.
2017-06-07 20:02:42 -04:00
Rob Rix
95924c1ba0 Assign HTML blocks. 2017-06-07 20:00:06 -04:00
Rob Rix
ca2394e78a Assign line breaks and soft breaks. 2017-06-07 19:56:54 -04:00
Rob Rix
3e527cd7b8 Add thematic breaks (separators, horizontal rules, lines). 2017-06-07 19:47:46 -04:00
Rob Rix
6d7602dc64 Links’ & images’ titles are optional. 2017-06-07 19:44:22 -04:00
Rob Rix
a2b931c6ac Code blocks have Nothing for the language when it’s not provided. 2017-06-07 19:41:59 -04:00
Rob Rix
33f3871a43 Assign code blocks. 2017-06-07 19:39:35 -04:00
Rob Rix
aea81fe41e Code has an optional language. 2017-06-07 19:37:33 -04:00
Rob Rix
95811013bd Assign inline code. 2017-06-07 19:36:26 -04:00
Rob Rix
b5a7b90d69 Assign images. 2017-06-07 19:33:58 -04:00
Rob Rix
046fec7f26 Assign block quotes. 2017-06-07 19:32:28 -04:00
Rob Rix
7591e15431 Unqualify the grammar type. 2017-06-07 19:30:39 -04:00
Rob Rix
27b4484aee Add a section header for implementation details. 2017-06-07 19:28:19 -04:00
Rob Rix
5598b8b581 Assign links. 2017-06-07 19:27:34 -04:00
Rob Rix
83aa91006f Spacing. 2017-06-07 19:23:47 -04:00
Rob Rix
1bdead623c Assign ordered/unordered lists into distinct structures. 2017-06-07 19:23:14 -04:00
Rob Rix
429bb4bf96 Correct the reference to NodeType in Parser. 2017-06-07 19:22:48 -04:00
Rob Rix
cefb39cc29 Reference HEADING via the CMark module. 2017-06-07 19:18:03 -04:00
Rob Rix
9638c5d092 Define ordered and unordered lists. 2017-06-07 19:15:55 -04:00
Rob Rix
cf47ee0e2c Group the markup datatypes under headings. 2017-06-07 19:14:36 -04:00
Rob Rix
988cbdb404 Move the markup datatypes to their own module. 2017-06-07 19:13:49 -04:00
Rob Rix
a60f9954f4 Stub in a Markup module. 2017-06-07 19:11:03 -04:00
Rob Rix
4233a0eec3 Sort imports. 2017-06-07 19:10:24 -04:00
Rob Rix
4937788a97 Correct the SourcePos to be 1-indexed. 2017-06-07 19:09:17 -04:00
Rob Rix
9620b09003 Rename withNode to project. 2017-06-07 19:07:00 -04:00
Rob Rix
96a0df33fe Assign list items. 2017-06-07 19:03:02 -04:00
Rob Rix
bcc642a976 Assign headings. 2017-06-07 18:54:25 -04:00
Rob Rix
a657ff311f Stub in parsing of lists.
NB: this doesn’t currently respect ordered/unordered.
2017-06-07 18:47:42 -04:00