natew / obtvse

Deprecated: See natew/obtvse2
http://github.com/natew/obtvse2
MIT License
1.38k stars 261 forks source link

"More" Tag Cuts Off Links, Breaks Markdown Parsing #93

Open mikeholler opened 12 years ago

mikeholler commented 12 years ago

Here's an example of the Markdown:

Hey guys, I'm making a [blog][wiki_blog] post! Read more after the [jump][wiki_Van_Halen]!
[wiki_Van_Halen]: http://en.wikipedia.org/wiki/Van_Halen
<!--more-->
I really like [blogging][wiki_blog]. It's just so fun!

\[wiki_blog]: http://en.wikipedia.org/wiki/Blog
\[wiki_Van_Halen]: http://en.wikipedia.org/wiki/Van_Halen

Currently, the above example, viewed from the home page, would appear like this (where bold represents a link.

Hey guys, I'm making a [blog][wiki_blog] post! Read more after the jump!

When viewing the posts own page, everything displays as it's supposed to. I'm hoping to fix this myself when I get more time in a week or so, but I wanted to document it in case anyone got here first (and to remind myself, should I forget!).

willcosgrove commented 12 years ago

Please excuse my ignorance, but don't links in markdown work like this [GitHub](http://github.com)?

With () around the url instead of []

mikeholler commented 12 years ago

It appears that github is having a hard time displaying what I typed, for some reason. I have updated the above post so that it makes more sense. However, please read the Markdown example without the backslashes. For whatever reason, removing them makes those lines disappear (which is why you couldn't see them originally). Linking can be done by reference as above. Feel free to try it out yourself if you want.

Hopefully this issue is still understandable after the initial confusion (sorry about that, it worked in the preview so I didn't think to check it after I hit post). Please let me know if I need to clarify anything further.