Permalink
Commits on Mar 17, 2017
  1. Fix last commit

    The previous patch wouldn't apply cleanly, and I broke a few things
    applying it by hand.
    jrblevin committed Mar 17, 2017
  2. Fix regular expression syntax, comments, etc.

    Thanks to Stefan Monnier for this patch.
    jrblevin committed Mar 17, 2017
Commits on Dec 23, 2016
  1. Thanks!

    jrblevin committed Dec 23, 2016
Commits on Dec 22, 2016
  1. Prohibit setext headers from starting with spaces or tabs

    Fixes an error in the setext header regular expressions. The hyphen
    needs to be at the end of the class so that it isn't interpreted as a
    range.  This also adds tab as a prohibited character.
    
    This closes GH-143 and is related to GH-139. Thanks to Howard Melman
    for reporting these issues.
    jrblevin committed Dec 22, 2016
Commits on Sep 28, 2016
  1. Merge pull request #168 from kleinschmidt/dfk/display-math-regex

    use non-greedy *? for display math content
    syohex committed on GitHub Sep 28, 2016
Commits on Sep 26, 2016
Commits on Sep 23, 2016
Commits on Sep 20, 2016
Commits on Aug 30, 2016
  1. Fix check for point inside link

    Fixes GH-161
    jrblevin committed Aug 30, 2016
  2. Add test for GH-161

    jrblevin committed Aug 30, 2016
Commits on Aug 29, 2016
  1. Ignore header line at fill-paragraph (#162)

    * Ignore header line at fill-paragraph
    * Add test of #159 about fill-paragraph with header
    syohex committed with jrblevin Aug 29, 2016
Commits on Aug 4, 2016
  1. Check getting yaml meta-data value (#157)

    If it cannot be got, it raises exception. This is work around of #156.
    syohex committed with jrblevin Aug 4, 2016
Commits on Jul 22, 2016
  1. Merge pull request #154 from jrblevin/imenu-with-metadata

    Don't correct header like statement in metadata
    jrblevin committed on GitHub Jul 22, 2016
Commits on Jul 21, 2016
  1. Add regression test for #145

    syohex committed Jul 21, 2016
Commits on Jun 29, 2016
  1. Unmark buffer modified at markdown-unfontify-region-wiki-links (#146)

    In Emacs 24.3 some `remove-text-properties` calls, like the ones in
    `markdown-unfontify-region-wiki-links`, mark the buffer modified. This
    function is invoked by default from `markdown-mode`, and so it makes
    that a Markdown buffer is marked modified just by visiting a file or
    changing to this major mode.
    
    This change unsets the buffer modified mark if it wasn't previously set.
    nibble committed with jrblevin Jun 29, 2016
Commits on Jun 11, 2016
  1. Prohibit setext headers from starting with spaces

    Avoids ambiguity between setext headings and in-progress lists (e.g.,
    when the point is at X below):
    
    - foo
        - bar
    -X
    
    Closes GH-143.
    jrblevin committed Jun 11, 2016
Commits on May 27, 2016
  1. Merge pull request #142 from jrblevin/out-of-range-error

    Don't return point which is larger than point-max
    syohex committed May 27, 2016
  2. Don't return point which is larger than point-max

    Original code sometimes returns point larger than point-max, then
    syntax-propertize function raises args-out-of-range signal.
    syohex committed May 27, 2016
Commits on May 13, 2016
  1. Fix wrong file name (#141)

    syohex committed with jrblevin May 13, 2016
Commits on May 9, 2016
  1. Setext headers may not begin with hyphens

    Prohibit this so that there is no ambiguity between setext headings
    and in-progress lists (e.g., when the point is at X below)
    
    - item 1
    -X
    
    Closes GH-139.
    jrblevin committed May 9, 2016
Commits on May 7, 2016
  1. Remove needless code

    url-parse was bundled since Emacs 24.1 so that markdown-mode need not to
    check whether it is installed. However url-path-and-query was introduced
    at Emacs 24.3, so it should be checked.
    syohex committed with jrblevin May 7, 2016
Commits on May 6, 2016
  1. Check for zero-length file

    Intra-file links such as [top](#top) would result in the variable file
    being a zero-length string.
    jrblevin committed May 6, 2016
  2. Catch nil value of file

    jrblevin committed May 6, 2016
  3. Backwards compatibility for missing url-parse

    url-parse was added in Emacs 24.3.
    jrblevin committed May 6, 2016
  4. Open partial links in Emacs, full URLs in browser

    This commit changes the behavior of `markdown-follow-link-at-point` (C-c
    C-o).  If the link is a complete URL, open in browser with `browse-url'.
    Otherwise, open with `find-file' after stripping anchor and/or query
    string.  Includes a test.
    jrblevin committed May 6, 2016
  5. Keep metadata visible when cycling visibility

    Metadata blocks like the following appear to contain setext headers when
    using regexp matching (as `outline-minor-mode` does).
    
        ---
        title = Post Name
        date = May 6, 2016 11:15 EDT
        ---
    
    As a result, when cycling visibility of sections the last line of the
    block would be hidden.  This patch adds code to detect and revert this
    in `markdown-outline-fix-visibility`.
    
    Closes GH-136.
    jrblevin committed May 6, 2016
  6. Support basic TOML metadata

    This is like YAML but with = instead of : as the separator.
    Closes GH-137.
    jrblevin committed May 6, 2016