This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// ---------------------------------------------------------------------------- | ||
// markItUp! | ||
// ---------------------------------------------------------------------------- | ||
// Copyright (C) 2008 Jay Salvat | ||
// http://markitup.jaysalvat.com/ | ||
// ---------------------------------------------------------------------------- | ||
// BBCode tags example | ||
// http://en.wikipedia.org/wiki/Bbcode | ||
// ---------------------------------------------------------------------------- | ||
// Feel free to add more tags | ||
// ---------------------------------------------------------------------------- | ||
mySettings = { | ||
previewParserPath: "/markitup/preview", // path to your BBCode parser | ||
markupSet: [ | ||
{name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'}, | ||
{name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'}, | ||
{name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'}, | ||
{separator:'---------------' }, | ||
{name:'Picture', key:'P', replaceWith:'[img][![Url]!][/img]'}, | ||
{name:'Link', key:'L', openWith:'[url=[![Url]!]]', closeWith:'[/url]', placeHolder:'Your text to link here...'}, | ||
{separator:'---------------' }, | ||
{name:'Size', key:'S', openWith:'[size=[![Text size]!]]', closeWith:'[/size]', | ||
dropMenu :[ | ||
{name:'Big', openWith:'[size=200]', closeWith:'[/size]' }, | ||
{name:'Normal', openWith:'[size=100]', closeWith:'[/size]' }, | ||
{name:'Small', openWith:'[size=50]', closeWith:'[/size]' } | ||
]}, | ||
{separator:'---------------' }, | ||
{name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'}, | ||
{name:'Numeric list', openWith:'[list=[![Starting number]!]]\n', closeWith:'\n[/list]'}, | ||
{name:'List item', openWith:'[*] '}, | ||
{separator:'---------------' }, | ||
{name:'Quotes', openWith:'[quote]', closeWith:'[/quote]'}, | ||
{name:'Code', openWith:'[code]', closeWith:'[/code]'}, | ||
{separator:'---------------' }, | ||
{name:'Clean', className:"clean", replaceWith:function(markitup) { return markitup.selection.replace(/\[(.*?)\]/g, "") } }, | ||
{name:'Preview', className:"preview", call:'preview' } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* ------------------------------------------------------------------- | ||
// markItUp! | ||
// By Jay Salvat - http://markitup.jaysalvat.com/ | ||
// ------------------------------------------------------------------*/ | ||
.markItUp .markItUpButton1 a { | ||
background-image: image-url("markitup/sets/bbcode/bold.png"); | ||
} | ||
.markItUp .markItUpButton2 a { | ||
background-image: image-url("markitup/sets/bbcode/italic.png"); | ||
} | ||
.markItUp .markItUpButton3 a { | ||
background-image: image-url("markitup/sets/bbcode/underline.png"); | ||
} | ||
|
||
.markItUp .markItUpButton4 a { | ||
background-image: image-url("markitup/sets/bbcode/picture.png"); | ||
} | ||
.markItUp .markItUpButton5 a { | ||
background-image: image-url("markitup/sets/bbcode/link.png"); | ||
} | ||
|
||
.markItUp .markItUpButton6 a { | ||
background-image: image-url("markitup/sets/bbcode/fonts.png"); | ||
} | ||
.markItUp .markItUpButton7 a { | ||
background-image: image-url("markitup/sets/bbcode/list-bullet.png"); | ||
} | ||
.markItUp .markItUpButton8 a { | ||
background-image: image-url("markitup/sets/bbcode/list-numeric.png"); | ||
} | ||
.markItUp .markItUpButton9 a { | ||
background-image: image-url("markitup/sets/bbcode/list-item.png"); | ||
} | ||
|
||
.markItUp .markItUpButton10 a { | ||
background-image: image-url("markitup/sets/bbcode/quotes.png"); | ||
} | ||
.markItUp .markItUpButton11 a { | ||
background-image: image-url("markitup/sets/bbcode/code.png"); | ||
} | ||
|
||
.markItUp .clean a { | ||
background-image: image-url("markitup/sets/bbcode/clean.png"); | ||
} | ||
.markItUp .preview a { | ||
background-image: image-url("markitup/sets/bbcode/preview.png"); | ||
} |