- Nov 07, 2012
-
-
Marijn Haverbeke authored
As spotted by the extended linter.
-
- Oct 29, 2012
-
-
Marijn Haverbeke authored
-
- Oct 25, 2012
-
-
Marijn Haverbeke authored
-
- Oct 24, 2012
-
-
Marijn Haverbeke authored
-
- Oct 23, 2012
-
-
Marijn Haverbeke authored
Allow slashes and question marks in unquoted attribute values (not sure why those were disallowed in the first place) and properly style the token after a value-less attribute. Closes #904 Closes #902
-
- Oct 19, 2012
-
-
Marijn Haverbeke authored
Issue #898
-
Marijn Haverbeke authored
Closes #898
-
- Oct 16, 2012
-
-
Marijn Haverbeke authored
(git is the authoritative source of who wrote what)
-
Marijn Haverbeke authored
-
ComFreek authored
-
- Oct 15, 2012
-
-
ks-ifware authored
Multi-line Lua comments start with "--[[", not "--["
-
Brandon Frohs authored
This basically matches the CSS3 spec (except it doesn't match non-ascii characters).
-
- Oct 03, 2012
-
-
Brandon Frohs authored
-
Marijn Haverbeke authored
Closes #868
-
Brandon Frohs authored
- Add options to Markdown mode to make it easier to extend - Add GFM text overlay - SHA, User@SHA, and User/Project@SHA - #Num, User/#Num, and User/Project#Num - Vanilla URLs - Add GFM-specific tests - Fix overlay code so blankLine() is called - Fix GFM for v3
-
Brandon Frohs authored
- Inline links (square brackets followed by parentheses) cannot be separated by space (per Documentation and Dingus). - Added test that checks both for this and correct highlighting of square brackets by themselves.
-
- Oct 02, 2012
-
-
Brandon Frohs authored
Also avoid a global variable that snuck through.
-
- Sep 28, 2012
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
This'll align them with the previous line. It's not a perfect solution, but probably better than simply returning 0. Issue #854
-
ahoward authored
-
- Sep 19, 2012
-
-
Marijn Haverbeke authored
-
- Sep 18, 2012
-
-
Marijn Haverbeke authored
-
- Sep 17, 2012
-
-
Marijn Haverbeke authored
-
Brandon Frohs authored
-
Brandon Frohs authored
- Prevent "markdown_hrDashLong" test from failing when runHarness() is called manually. - Render EM / STRONG within link text (closes #823). - Add highlighting for images (closes #824).
-
- Sep 14, 2012
-
-
Marijn Haverbeke authored
They were completely broken due to really fragile use of html selectors. Should work much better now in test framework. Closes #796
-
- Sep 12, 2012
-
-
Marijn Haverbeke authored
This makes the formatter easier to adjust to new mode, and cleans it up somewhat.
-
Marijn Haverbeke authored
And move closetag over to it. This makes the code that gets the XML state out of the mode actually sound and extensible. Issue #820
-
- Sep 11, 2012
-
-
Marijn Haverbeke authored
Closes #819
-
- Sep 10, 2012
-
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Marijn Haverbeke authored
-
Brandon Frohs authored
- Added link to tests on mode page - More consistent naming with CSS spec (some of the previous var naming was completely incorrect/misleading) - Improved highlighting - Match vendor prefixes - Check for known properties and values (known properties are bold, unknown are not) - Added highlighting for media queries - Cleaner stacking of state
-
- Sep 07, 2012
-
-
Brandon Frohs authored
- Integrated stex and Markdown mode tests into main test harness - Added ability to restart tests partway through - Added verbose option, to add message to output for *every* test - Added ability to show verbose messages and run specific tests or all tests for 1+ mode(s) via location.hash - Added support for custom messages (either return value [pass] or throw value [fail]) - Switched away from .innerHTML, .write(), etc in most places - Make the progress bar actually 0px wide when 0% complete (and still keep padding) - Added link to tests from each mode's demo page
-
- Sep 05, 2012
-
-
Brandon Frohs authored
Markdown mode - Add additional link tests and correctly match link titles on next line. - Adjust tests code so sections (including "Basics") can be rearranged and removed easily without breaking the script. - Add tests and fix highlighting for lists. Test harness - Sort styles in mode test script so "quote string" = "string quote".
-
- Sep 04, 2012
-
-
Brandon Frohs authored
(Squashed commit. Below are the original commit messages:) - Add highlighting test for Markdown for consecutive backticks. - Make it possible to wrap inline code in multiple backticks. - Add highlighting test for Markdown mode to only allow a single space to separate brackets. - Make it possible to separate bracket groups with a space. - Allow for horizontal rules to use dashes. - Allow for *any* number of -'s or ='s for setex headers. - Remove requirement that the text for setext headers have to be highlighted. - Might revisit someday to work on this, but in the meantime, it's better to prevent regressions than to be picky about what would be highlighted in an ideal world. - Correctly match single line footnotes with title. - Match inline links in Markdown mode. - Don't match unclosed code blocks. - Get mode test highlighter in line with CodeMirror.highlight(). - It would be nice to use all native functions, to avoid having to update this manually each time. - Fix tests per fixes made to mode test highlighter. - Properly handle multiple classes for mode tests. - More correct handling of EM and STRONG in Markdown mode. Per Markdown documentation: "You can use whichever style you prefer; the lone restriction is that the same character must be used to open and close an emphasis span." # This is the 15th commit message: - Allow escaping of * and _ by surrounding with spaces. Per Markdown documentation: "But if you surround an * or _ with spaces, it’ll be treated as a literal asterisk or underscore." - More correct support for inline code blocks. - Adjust Markdown highlighting tests to fit readability, rather than 100% conformance with Markdown documentation. Although unclosed italics, bold, and inline code would not be formatted by a Markdown parser, it is extremely helpful to have the styles added even when it is not yet closed. It may be a good idea to add an 'incomplete' flag for each at some point, in order to style it (and mark it) as different. Perhaps piggyback off of "error".
-
Marijn Haverbeke authored
Parsing the word constructor would look up words["constructor"], and return Object.prototype.constructor instead of a style string. Closes #793
-
- Sep 03, 2012
-
-
Brandon Frohs authored
Closes #782 Correct highlighting for the following code snippet should highlight the + as an operator, and each 2 as a number (taken from http://clojuredocs.org/clojure_core/1.2.0/clojure.test/deftest) (is (= 4 (+ 2 2)))
-
Marijn Haverbeke authored
Closes #780
-