mojombo / github-flavored-markdown
- Source
- Commits
- Network (0)
- Issues (8)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
gh-pages
-
When inserting XML from an XMPP session I seem to lose nested tags.
Example:
http://github.com/pandion/pandion/issues/#issue/1Three lines in the pre/code block are shown as empty while in fact they contain long XML data. You can verify this by editing the post and looking at the source.
Any idea what is causing this? Or am I simply not using the markdown syntax correctly?
Comments
-
The #summary method prepends a period each time is is used on a non-blank summary. When used more than once on a docstring this causes several trailing periods to appear at the end of the summary.
The solution would be to check the last character and only append if it is not a period. An alternative (and IMHO better) solution would be to perform the appending one time, and memoize the results, so something like:
def summary return @summary if defined?(@summary) summary = split(/\.|\r?\n\r?\n/).first || '' unless summmary.empty? || summary[-1, 1] == '.' summary += '.' end @summary = summary.freeze endComments
-
Comments
The file has now changed and the problematic version can now be found here:
http://github.com/remiprev/pubwich/blob/31db64390f9428389acef1c338426c6c7e2e7b2c/README.md
Notice how the ordered list is rendered "1,1,2,1,2" in the page as opposed to "1,2,3,4,5" when its content is put in the gfm preview page.
-
Autolinking broken for repositories that contain '-'
0 comments Created 29 days ago by tekkubI have repositories whose name contains dashes and GFM is broken on them, i.e. (for instance) doudou/pocosim-log#1 is not properly linking to the corresponding issue.
Comments
-
Example code doesn't include the URL/email auto-linking
0 comments Created 14 days ago by airbladeIt would be very useful to see the URL/email auto-linking added to code.rb.
I have been trying to implement it myself, by porting the Showdown modifications back to Ruby, but haven't managed to iron out all the wrinkles.
Please would you add in your Ruby code for this?
Comments
-
Not an issue, but a feature request... We share code all the time in pages, readme's tickets, etc. Having native code highlighting would be very, very useful!
Comments




