summaryrefslogtreecommitdiffstats
path: root/lib/parse/page.js
Commit message (Collapse)AuthorAgeFilesLines
* Clear folderSamy Pessé2015-01-191-160/+0
|
* Fix parsing of already lexed contentSamy Pessé2014-11-141-1/+1
|
* Adapt new page.parse api for testsSamy Pessé2014-11-031-4/+7
|
* Merge branch 'master' of github.com:GitbookIO/gitbook into forkcodepiano2014-11-021-1/+1
|\ | | | | | | | | Conflicts: lib/parse/page.js
| * Adapt include in page parsing to works on clientsideSamy Pessé2014-11-011-1/+1
| |
* | bugfix,init page object's lexed attribute.codepiano2014-10-311-2/+3
|/ | | | | | the page object's attribute 'lexed' is not correctly inited.so when use page.lexed to generate the search index file,nothing will be indexed.
* Fix small incompatibility mistakeAaron O'Mullan2014-10-151-1/+1
|
* Add include support, with variables and the whole shebangAaron O'Mullan2014-10-151-10/+5
| | | | Fixes #462
* Fix error with markdown renderingSamy Pessé2014-08-111-5/+5
|
* Replace "marked" with "kramed"Aaron O'Mullan2014-07-301-3/+3
|
* Merge pull request #266 from shaform/ref_linksSamy Pessé2014-07-111-3/+2
|\ | | | | Add reference links support
| * Improve code syntax for links assignmentShaform2014-05-281-1/+1
| |
| * fix links errorShaform2014-05-271-1/+1
| |
| * Add reference links supportShaform2014-05-271-3/+2
| | | | | | | | This commit resolves #184
* | Support code includes for exercisesAaron O'Mullan2014-07-101-3/+9
|/
* Normalize code language before highlightingAaron O'Mullan2014-04-171-0/+3
|
* Disable automatic highlightingAaron O'Mullan2014-04-161-3/+5
| | | | Fallback to no highlighting rather that potentially funky highlighting
* In parse/page remove global marked settingsAaron O'Mullan2014-04-161-12/+10
| | | | | Highlighter settings were global, moved them to the render function (where they should have been)
* Quiz with GFM checkbox listsJames Phillpotts2014-04-121-10/+54
|
* Tabular quizJames Phillpotts2014-04-121-0/+18
|
* Add lexing support for content code in exercisesAaron O'Mullan2014-04-081-0/+2
| | | | #52, #49, #46
* Generate section.id in lexerAaron O'Mullan2014-04-061-5/+2
| | | | This allows generating correct URLs for our search index
* In page parser, lex only if not already lexedAaron O'Mullan2014-04-061-1/+2
|
* Move page lexer to separate moduleAaron O'Mullan2014-04-061-56/+3
| | | | Allow lexer to be used independently of page parser/renderer
* Prevent renderer from mutating sectionsAaron O'Mullan2014-04-061-0/+3
|
* Add basic code language normalizationAaron O'Mullan2014-04-051-1/+4
|
* Detect exercise languageAaron O'Mullan2014-04-051-0/+12
| | | | And ensure that all code blocks use the same language
* Resolve relative links to GitHub repo, fixes #6Aaron O'Mullan2014-04-021-4/+7
| | | | Useful for linking to blobs and other files …
* Merge sections together, fixes #7Aaron O'Mullan2014-04-021-0/+13
|
* Fix usage of highlight.jsSamy Pessé2014-04-011-2/+7
|
* Fix #3: Add syntax highlightingSamy Pessé2014-04-011-0/+7
|
* Filter out empty sections when generating pagesAaron O'Mullan2014-03-311-0/+3
|
* Generate a unique Id for each sectionAaron O'Mullan2014-03-311-0/+5
|
* Add content & code generation for exercise sectionsAaron O'Mullan2014-03-311-9/+28
|
* Fix bug with exercise classificationAaron O'Mullan2014-03-311-7/+9
|
* Normalize .md links to .html when rendering pagesAaron O'Mullan2014-03-311-1/+8
|
* Move summary & page parsing code to lib/parse/Aaron O'Mullan2014-03-311-0/+62