friendica / red

The Red Matrix
MIT License
214 stars 50 forks source link

Changed bbcode [toc] and changed doc for beginning deveopers #900

Closed einervonvielen closed 9 years ago

einervonvielen commented 9 years ago

Oops, I mixed two local branches.

This pull request now contains two commits:

Sorry for this. I hope you have no real trouble with this.

einervonvielen commented 9 years ago

I will remove the previous pull request https://github.com/friendica/red/pull/899 because it is contained in this one https://github.com/friendica/red/pull/900 you are just reading.

einervonvielen commented 9 years ago

I just removed my previous pull request https://github.com/friendica/red/pull/899 It has this comment:

This usage is now closer to the original usage of http://ndabas.github.io/toc/

Changed:

jquery.toc.js: Do not check for empty headings
bbcode.php: Added processing of [toc] with parameters
main.js: Use the default params for jquery.toc.js
bbcode.html: Added more help for [toc] and corrected some html