Added Textile markup set for MarkItUp.
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Wed Jan 05 19:49:28 2011 +0100 (16 months ago)
changeset 106e44f3fe8bd99
parent 105 394d3756a900
child 107 4e33fb08dc9f
Added Textile markup set for MarkItUp.
osdrawer/media/js/markitup/markitup/sets/textile/images/bold.png
osdrawer/media/js/markitup/markitup/sets/textile/images/code.png
osdrawer/media/js/markitup/markitup/sets/textile/images/h1.png
osdrawer/media/js/markitup/markitup/sets/textile/images/h2.png
osdrawer/media/js/markitup/markitup/sets/textile/images/h3.png
osdrawer/media/js/markitup/markitup/sets/textile/images/h4.png
osdrawer/media/js/markitup/markitup/sets/textile/images/h5.png
osdrawer/media/js/markitup/markitup/sets/textile/images/h6.png
osdrawer/media/js/markitup/markitup/sets/textile/images/italic.png
osdrawer/media/js/markitup/markitup/sets/textile/images/link.png
osdrawer/media/js/markitup/markitup/sets/textile/images/list-bullet.png
osdrawer/media/js/markitup/markitup/sets/textile/images/list-numeric.png
osdrawer/media/js/markitup/markitup/sets/textile/images/paragraph.png
osdrawer/media/js/markitup/markitup/sets/textile/images/picture.png
osdrawer/media/js/markitup/markitup/sets/textile/images/preview.png
osdrawer/media/js/markitup/markitup/sets/textile/images/quotes.png
osdrawer/media/js/markitup/markitup/sets/textile/images/stroke.png
osdrawer/media/js/markitup/markitup/sets/textile/readme.txt
osdrawer/media/js/markitup/markitup/sets/textile/set.js
osdrawer/media/js/markitup/markitup/sets/textile/style.css
     1.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/bold.png has changed
     2.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/code.png has changed
     3.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/h1.png has changed
     4.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/h2.png has changed
     5.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/h3.png has changed
     6.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/h4.png has changed
     7.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/h5.png has changed
     8.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/h6.png has changed
     9.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/italic.png has changed
    10.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/link.png has changed
    11.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/list-bullet.png has changed
    12.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/list-numeric.png has changed
    13.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/paragraph.png has changed
    14.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/picture.png has changed
    15.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/preview.png has changed
    16.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/quotes.png has changed
    17.1 Binary file osdrawer/media/js/markitup/markitup/sets/textile/images/stroke.png has changed
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/osdrawer/media/js/markitup/markitup/sets/textile/readme.txt	Wed Jan 05 19:49:28 2011 +0100
    18.3 @@ -0,0 +1,11 @@
    18.4 +Markup language: 
    18.5 +Textile
    18.6 +
    18.7 +Description:
    18.8 +A basic Textile markup set with Headings, Bold, Italic, Stroke through, Picture, Link, List, Quotes, Code, Preview button.
    18.9 +
   18.10 +Install:
   18.11 +- Download the zip file
   18.12 +- Unzip it in your markItUp! sets folder
   18.13 +- Modify your JS link to point at this set.js
   18.14 +- Modify your CSS link to point at this style.css
   18.15 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/osdrawer/media/js/markitup/markitup/sets/textile/set.js	Wed Jan 05 19:49:28 2011 +0100
    19.3 @@ -0,0 +1,40 @@
    19.4 +// -------------------------------------------------------------------
    19.5 +// markItUp!
    19.6 +// -------------------------------------------------------------------
    19.7 +// Copyright (C) 2008 Jay Salvat
    19.8 +// http://markitup.jaysalvat.com/
    19.9 +// -------------------------------------------------------------------
   19.10 +// Textile tags example
   19.11 +// http://en.wikipedia.org/wiki/Textile_(markup_language)
   19.12 +// http://www.textism.com/
   19.13 +// -------------------------------------------------------------------
   19.14 +// Feel free to add more tags
   19.15 +// -------------------------------------------------------------------
   19.16 +mySettings = {
   19.17 +	previewParserPath:	'', // path to your Textile parser
   19.18 +	onShiftEnter:		{keepDefault:false, replaceWith:'\n\n'},
   19.19 +	markupSet: [
   19.20 +		{name:'Heading 1', key:'1', openWith:'h1(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
   19.21 +		{name:'Heading 2', key:'2', openWith:'h2(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
   19.22 +		{name:'Heading 3', key:'3', openWith:'h3(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
   19.23 +		{name:'Heading 4', key:'4', openWith:'h4(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
   19.24 +		{name:'Heading 5', key:'5', openWith:'h5(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
   19.25 +		{name:'Heading 6', key:'6', openWith:'h6(!(([![Class]!]))!). ', placeHolder:'Your title here...' },
   19.26 +		{name:'Paragraph', key:'P', openWith:'p(!(([![Class]!]))!). '},
   19.27 +		{separator:'---------------' },
   19.28 +		{name:'Bold', key:'B', closeWith:'*', openWith:'*'},
   19.29 +		{name:'Italic', key:'I', closeWith:'_', openWith:'_'},
   19.30 +		{name:'Stroke through', key:'S', closeWith:'-', openWith:'-'},
   19.31 +		{separator:'---------------' },
   19.32 +		{name:'Bulleted list', openWith:'(!(* |!|*)!)'},
   19.33 +		{name:'Numeric list', openWith:'(!(# |!|#)!)'}, 
   19.34 +		{separator:'---------------' },
   19.35 +		{name:'Picture', replaceWith:'![![Source:!:http://]!]([![Alternative text]!])!'}, 
   19.36 +		{name:'Link', openWith:'"', closeWith:'([![Title]!])":[![Link:!:http://]!]', placeHolder:'Your text to link here...' },
   19.37 +		{separator:'---------------' },
   19.38 +		{name:'Quotes', openWith:'bq(!(([![Class]!]))!). '},
   19.39 +		{name:'Code', openWith:'@', closeWith:'@'},
   19.40 +		{separator:'---------------' },
   19.41 +		{name:'Preview', call:'preview', className:'preview'}
   19.42 +	]
   19.43 +}
   19.44 \ No newline at end of file
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/osdrawer/media/js/markitup/markitup/sets/textile/style.css	Wed Jan 05 19:49:28 2011 +0100
    20.3 @@ -0,0 +1,60 @@
    20.4 +/* -------------------------------------------------------------------
    20.5 +// markItUp!
    20.6 +// By Jay Salvat - http://markitup.jaysalvat.com/
    20.7 +// ------------------------------------------------------------------*/
    20.8 +.markItUp .markItUpButton1 a {
    20.9 +	background-image:url(images/h1.png); 
   20.10 +}
   20.11 +.markItUp .markItUpButton2 a {
   20.12 +	background-image:url(images/h2.png); 
   20.13 +}
   20.14 +.markItUp .markItUpButton3 a {
   20.15 +	background-image:url(images/h3.png); 
   20.16 +}
   20.17 +.markItUp .markItUpButton4 a {
   20.18 +	background-image:url(images/h4.png); 
   20.19 +}
   20.20 +.markItUp .markItUpButton5 a {
   20.21 +	background-image:url(images/h5.png); 
   20.22 +}
   20.23 +.markItUp .markItUpButton6 a {
   20.24 +	background-image:url(images/h6.png); 
   20.25 +}
   20.26 +.markItUp .markItUpButton7 a {
   20.27 +	background-image:url(images/paragraph.png); 
   20.28 +}
   20.29 +
   20.30 +.markItUp .markItUpButton8 a {
   20.31 +	background-image:url(images/bold.png);
   20.32 +}
   20.33 +.markItUp .markItUpButton9 a {
   20.34 +	background-image:url(images/italic.png);
   20.35 +}
   20.36 +.markItUp .markItUpButton10 a {
   20.37 +	background-image:url(images/stroke.png);
   20.38 +}
   20.39 +
   20.40 +.markItUp .markItUpButton11 a {
   20.41 +	background-image:url(images/list-bullet.png);
   20.42 +}
   20.43 +.markItUp .markItUpButton12 a {
   20.44 +	background-image:url(images/list-numeric.png);
   20.45 +}
   20.46 +
   20.47 +.markItUp .markItUpButton13 a {
   20.48 +	background-image:url(images/picture.png); 
   20.49 +}
   20.50 +.markItUp .markItUpButton14 a {
   20.51 +	background-image:url(images/link.png);
   20.52 +}
   20.53 +
   20.54 +.markItUp .markItUpButton15 a	{
   20.55 +	background-image:url(images/quotes.png);
   20.56 +}
   20.57 +.markItUp .markItUpButton16 a	{
   20.58 +	background-image:url(images/code.png);
   20.59 +}
   20.60 +
   20.61 +.markItUp .preview a {
   20.62 +	background-image:url(images/preview.png);
   20.63 +}
   20.64 \ No newline at end of file