PDA

View Full Version : New Posting Features - Markdown Support by BOP5


BirdOPrey5
06-17-2011, 10:00 PM
This mod introduces support for "Markdown" syntax in vBulletin posts. Markdown is an alternative to BB Code and HTML. In some situations it may be preferable to use Markdown when formatting posts instead of BB Code.

More info on Markdown at Wikipedia: http://en.wikipedia.org/wiki/Markdown

This mod allows you to specify one or more forums on your site which will be Markdown enabled.

Please note: In a Markdown Enabled forum BB Code will not work so don't turn a forum with existing posts into a Markdown forum- you'd be best off making a new forum for this mod.

This mod makes use of a redistributable PHP library available here:
http://michelf.com/projects/php-markdown/

Syntax of Markdown is available here:
http://daringfireball.net/projects/markdown/syntax

The Library Used is "Markdown Extra" which adds extra formatting beyond the standard Markdown options:
http://michelf.com/projects/php-markdown/extra/

An example of Markdown Code is:

This is a bold test of the **Markdown Mod**. This is an _italics_ test.

This is a code test.
Keep 4 spaces before a line
to turn it into a code line. code test
Spaces are preserved in code as well as a fixed font. Test over.

Link Example: <http://example.com/>

`these funny backward apostrophe characters to the left of the 1 key also make code lines`

1. This is an
2. Ordered List
3. Just add numbers

* this is an
* un-ordered list


See the screenshot of how this will turn into properly formatted HTML with the mod enabled.

In addition to enabling selected forums for Markdown support the mod can at your option disable the advanced editor controls (like the BB Code toolbars) in the editors since that format will not work with Markdown anyway.

Current Version: 0.9
New in 0.9: Initial release- This is a stable Beta, no known bugs.

There is a VB3 version and a VB4 (https://vborg.vbsupport.ru/misc.php?do=producthelp&pid=markdownbop5vb4) version. Please install the correct version.

Please Mark as Installed if you use this. :)

BirdOPrey5
06-18-2011, 02:50 PM
Reserved.

TheLastSuperman
06-18-2011, 05:32 PM
Interesting idea BOP tagged for now!

fahad_althobian
06-19-2011, 01:37 AM
Thank you, Allah willing, will be installation

Brandon Sheley
06-19-2011, 01:40 AM
Interesting idea BOP tagged for now!

ditto! :up:

(the vb4 version)

troyuncucom
06-19-2011, 10:13 AM
Can i use include for txt file?

BirdOPrey5
06-19-2011, 10:25 AM
Can i use include for txt file?

I don't understand the question. :confused:

NAZIA
07-17-2011, 04:28 PM
Link example, must be..

[link text here](link.address.here "link title here")qouted from
http://en.wikipedia.org/wiki/Markdown#Linksinstead of using ,,

Link Example: <http://example.com/>by the way good work...

Plugin Pete
07-17-2011, 06:25 PM
BOP, I'm curious as to the practical application of another markup language. Is it capable of doing things that BB Code cannot? Maybe there is a significant amount of Markdown content that I'm not aware of.

Thanks!

Pete

BirdOPrey5
07-17-2011, 07:05 PM
Link example, must be..

[link text here](link.address.here "link title here")qouted from
http://en.wikipedia.org/wiki/Markdown#Linksinstead of using ,,

Link Example: <http://example.com/>by the way good work...

That is a more proper way, but both will work if you use the http://. I guess the <url> is a shortcut or something.

BOP, I'm curious as to the practical application of another markup language. Is it capable of doing things that BB Code cannot? Maybe there is a significant amount of Markdown content that I'm not aware of.

Thanks!

Pete

I have no great love for "markdown" - I made this mod per a request- someone who had a forum for programmers I believe wanted markdown support. It's just a matter a preference IMO, I always found myself typing _like this_ or *this* to add emphasis anyway, it's nice to see those really many something in a language like Markdown.

The popular site http://stackoverflow.com uses Markdown in all their "forums." Now I lnow how to use it. :D

Plugin Pete
07-17-2011, 07:07 PM
The popular site http://stackoverflow.com uses Markdown in all their "forums." Now I lnow how to use it. :D

Thanks for the link to stackoverflow.com. That helped. :up:

Adrian Schneider
07-17-2011, 07:12 PM
It's used a lot for documentation. It's a lot more human readable than BBCode so it's a little easier to read/write (IMO). WYSIWYG can get frustrating - this provides a nice middle ground where you can tell what the formatting is at a glance, without actually using WYSIWYG.

GitHub is another big player that uses (or supports) it.

Plugin Pete
07-17-2011, 07:23 PM
It's used a lot for documentation.

That's what I was wondering and why I asked. Documentation makes sense.