Permalink
Commits on Nov 14, 2013
Commits on Aug 31, 2013
  1. Add option to disable overriding foldtext

    Setting g:markdown_fold_override_foldtext to 0 will not set the custom foldtext
    function.
    matze committed Aug 31, 2013
Commits on Dec 13, 2012
  1. ENH: Add foldlevel=7 for horizontal rules.

    According to John Gruber's spec and the Stack Overflow implementation, horizontal rules are defined by three or more hyphens, asterisks, or underscores (optionally separated by spaces) on a line.
    
    Since horizontal rules are a (weak kind of) structuring mechanism, include them as foldlevel 7, after all possible headings.
    committed Dec 13, 2012
  2. FIX: Correct parsing for Setext-style header underline

    According to John Gruber's spec and the Stack Overflow parser, the underlining of H1 / H2 using equal signs / dashes requires 1+ instances (not 3+), and the line must not contain anything else.
    committed Dec 13, 2012
Commits on Dec 1, 2012
  1. Fix links in README files.

    nelstrom committed Dec 1, 2012
Commits on Nov 30, 2012
  1. Ignore # and === inside of fenced codeblocks

    Create IsFenced helper function.
    
    For fenced code blocks, skip HeadingDepth() checks.
    
    Detect unlabelled fenced code blocks.
    
    Profile markdown-folding on a 1500 line .md file
    
    Only run IsFenced test for lines starting with #
    
    This produces a big performance boost. Testing with a 1500 line .md
    file, it went from 5 seconds to 1 second.
    
    Still room for improvement.
    
    Add README for `test/profiling` directory.
    
    Use syntax highlighter to test for fenced code blocks.
    
    This produces a big performance boost. Testing with a 1500 line .md
    file, it went from 1.2 seconds to 0.2 seconds.
    
    Provide IsFenced fallback for when syntax is off.
    
    Allow fenced languages with syntax highlighting.
    
    The g:markdown_fenced_languages setting allows you to enable syntax
    highlighting of designated languages inside of a fenced code block.
    
    Ignore === headings inside fenced code blocks.
    nelstrom committed Nov 26, 2012
Commits on Nov 27, 2012
Commits on Nov 19, 2012
Commits on Oct 30, 2012
  1. Create NoneMatch() helper

    Not the same as !AllMatch()
    nelstrom committed Oct 30, 2012
Commits on Oct 26, 2012
  1. Ignore doc/tags

    nelstrom committed Oct 26, 2012
  2. Add documentation.

    nelstrom committed Oct 26, 2012
Commits on Oct 25, 2012
  1. Housekeeping.

    nelstrom committed Oct 25, 2012
  2. Implement :FoldToggle command.

    nelstrom committed Oct 25, 2012
  3. Refactor specs.

    nelstrom committed Oct 25, 2012
  4. Test foldtext linecount.

    nelstrom committed Oct 25, 2012
  5. s/1 lines/1 line

    nelstrom committed Oct 25, 2012
  6. Setup the foldtext function.

    nelstrom committed Oct 25, 2012
  7. Test that folds can be opened.

    nelstrom committed Oct 25, 2012
Commits on Oct 24, 2012