summaryrefslogtreecommitdiffstats
path: root/lib/parse
Commit message (Collapse)AuthorAgeFilesLines
* Fix #163: Move logic of git infos extraction to libSamy Pessé2014-04-282-1/+58
|
* Make quiz easier to click by surround it with label.Nattaphoom Ch2014-04-241-3/+8
|
* Fix #136: replace links to .md by links to .htmlSamy Pessé2014-04-221-11/+24
| | | | Add more tests for links in page
* Refactor navigation generation to be functionalAaron O'Mullan2014-04-181-47/+28
| | | | | This makes it a lot less error prone and far more robust. As well as a lot easier to understand
* Fix image path calculSamy Pessé2014-04-181-2/+8
|
* 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)
* Fix #100: fix section test isQuizSamy Pessé2014-04-161-1/+1
|
* Add readme parsing for extracting title and descriptionSamy Pessé2014-04-142-0/+33
|
* Refactor, document, improve section type detectionAaron O'Mullan2014-04-121-18/+45
| | | | Especially for quiz types
* Quiz with GFM checkbox listsJames Phillpotts2014-04-123-27/+82
|
* Tabular quizJames Phillpotts2014-04-123-0/+51
|
* Merge pull request #78 from mrpotes/mocha-windowsAaron O'Mullan2014-04-101-10/+4
|\ | | | | Fix URL creation on windows
| * Use OS-agnostic path generation for images tooJames Phillpotts2014-04-101-4/+2
| |
| * Use API from node 0.8James Phillpotts2014-04-101-1/+2
| |
| * Fix URL creation on windowsJames Phillpotts2014-04-101-7/+2
| |
* | Improve section detection, fixes #68Aaron O'Mullan2014-04-101-5/+9
|/
* Add lexing support for content code in exercisesAaron O'Mullan2014-04-082-1/+6
| | | | #52, #49, #46
* Fix URL rewriting error on empty URLsAaron O'Mullan2014-04-081-2/+2
| | | | Fixes #54, fixes #59
* Resolve image URLs, fixes #38Aaron O'Mullan2014-04-061-0/+22
| | | | Using outidr & dir options
* Fix relative link detection in rendererAaron O'Mullan2014-04-061-1/+1
|
* Generate section.id in lexerAaron O'Mullan2014-04-062-5/+13
| | | | 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-063-56/+67
| | | | Allow lexer to be used independently of page parser/renderer
* Add base for generating languages indexSamy Pessé2014-04-062-0/+24
|
* 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
* _path is not used anymoreSamy Pessé2014-04-041-2/+2
|
* Change normalization of parser to give link in .mdSamy Pessé2014-04-042-7/+4
|
* Fix some typos in libSamy Pessé2014-04-042-1/+2
|
* Resolve relative links to GitHub repo, fixes #6Aaron O'Mullan2014-04-022-6/+23
| | | | Useful for linking to blobs and other files …
* Merge sections together, fixes #7Aaron O'Mullan2014-04-021-0/+13
|
* Fix #8: Improve page titleSamy Pessé2014-04-022-3/+12
|
* Expose titles in navigation of current nodesAaron O'Mullan2014-04-021-0/+2
|
* Fix usage of highlight.jsSamy Pessé2014-04-011-2/+7
|
* Fix #3: Add syntax highlightingSamy Pessé2014-04-011-0/+7
|
* Improve animation and display of progress barSamy Pessé2014-04-011-1/+4
|
* Add progress calculSamy Pessé2014-04-012-1/+39
|
* Don't add chapters/articles with null paths to navigationAaron O'Mullan2014-04-011-0/+5
|
* Add level attribute in navigationAaron O'Mullan2014-03-311-0/+3
|
* Add level attribute to chapters/articlesAaron O'Mullan2014-03-311-6/+10
|
* Add target _blank support in renderer for external linksAaron O'Mullan2014-03-311-8/+39
|
* Fix tiny typoAaron O'Mullan2014-03-311-1/+1
| | | | In string not code
* Improve navigation from 1st chapter back to introAaron O'Mullan2014-03-311-1/+7
| | | | 1st chapter’s prev, now links to the intro page
* Fix previous/next chapter navigationAaron O'Mullan2014-03-311-7/+12
|
* Add parse.navigation moduleAaron O'Mullan2014-03-312-0/+69
| | | | With tests
* Change summary data formatAaron O'Mullan2014-03-311-3/+2
| | | | | Simplify chapter objects, by making them identical to article objects besides the .articles attribute
* 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-312-1/+35
|
* Normalize chapter & article pathsAaron O'Mullan2014-03-311-1/+6
|
* Move summary & page parsing code to lib/parse/Aaron O'Mullan2014-03-313-0/+178