<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Wiki Syntax for indenting a paragraph</title>
		<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph</link>
		<description>Posts in the discussion thread &quot;Wiki Syntax for indenting a paragraph&quot; - Create a new, simple one character syntax to allow users to indent a paragraph selectively.</description>
				<copyright></copyright>
		<lastBuildDate>Tue, 14 Feb 2012 07:20:13 +0000</lastBuildDate>
		
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-601527</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-601527</link>
				<description></description>
				<pubDate>Mon, 05 Oct 2009 12:38:00 +0000</pubDate>
								<wikidot:authorUserId>302300</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Using non-breaking spaces and copy/pasting will work, but it's inelegant. For now, I've altered the h1 heading via css to include an indent, so it's only one character + to indent a paragraph, unless I'm using the TOC module, and then I just have to use +* to avoid each paragraph showing up in the TOC. I'd still like to have ^ as a dedicated indent syntax that you can alter the size of the indent through css.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-562381</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-562381</link>
				<description></description>
				<pubDate>Sun, 16 Aug 2009 15:15:22 +0000</pubDate>
				<wikidot:authorName>Kynan</wikidot:authorName>				<wikidot:authorUserId>46389</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I tried using a class= with [[span]] once (a long time ago) and it didn't work. And since it wasn't documented in the help, I thought it hadn't changed. I tried it though, and yup, it works now. So either I did something wrong a long time ago, or it got silently added. In any case, great!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-562378</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-562378</link>
				<description></description>
				<pubDate>Sun, 16 Aug 2009 15:13:09 +0000</pubDate>
				<wikidot:authorName>Ed Johnson</wikidot:authorName>				<wikidot:authorUserId>38854</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>James,</p> <p>I found this site to be really useful, especially the section on CSS Selectors:<br /> <a href="http://css.maxdesign.com.au/selectutorial/" >http://css.maxdesign.com.au/selectutorial/</a></p> <p>-Ed</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-562239</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-562239</link>
				<description></description>
				<pubDate>Sun, 16 Aug 2009 09:30:52 +0000</pubDate>
				<wikidot:authorName>RobElliott</wikidot:authorName>				<wikidot:authorUserId>111301</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>Is it compatible with all browsers?</p> </blockquote> <p>Yes, although not IE6 and below.</p> <blockquote> <p>Do you have a link to some documentation on the subject? I tried Googling “add html elements in css”, but that rendered silly results.</p> </blockquote> <p>Just do a google search for <strong>adjacent sibling selector</strong> for that is what it is called.</p> <p>Rob</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-562234</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-562234</link>
				<description></description>
				<pubDate>Sun, 16 Aug 2009 09:17:57 +0000</pubDate>
				<wikidot:authorName>James Kanjo</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>Come to think of it, if you don't use block quotes, you could redefine that style to do what you want with a simple leading "&gt; ". Or you could hijack the style used for notes, but that syntax requires wrapping in "[[note]]…[[/note]]".</p> </blockquote> <p>You're a genius! You set the challenge, and I accept:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-identifier">blockquote</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-reserved">margin:</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code">; </span><span class="hl-reserved">border:</span><span class="hl-code"> </span><span class="hl-string">none</span><span class="hl-code">; </span><span class="hl-reserved">padding:</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code">; </span><span class="hl-reserved">background-color:</span><span class="hl-code"> </span><span class="hl-string">transparent</span><span class="hl-code">; </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-identifier">blockquote</span><span class="hl-code"> </span><span class="hl-identifier">p</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-reserved">margin:</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code">; </span><span class="hl-reserved">text-indent:</span><span class="hl-code"> </span><span class="hl-number">3</span><span class="hl-string">em</span><span class="hl-code">; </span><span class="hl-brackets">}</span><span class="hl-code"> </span><span class="hl-identifier">blockquote</span><span class="hl-code"> </span><span class="hl-identifier">p</span><span class="hl-code"> + </span><span class="hl-identifier">p</span><span class="hl-code"> </span><span class="hl-brackets">{</span><span class="hl-code"> </span><span class="hl-reserved">margin:</span><span class="hl-code"> </span><span class="hl-number">1</span><span class="hl-string">em</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code">; </span><span class="hl-brackets">}</span> </pre></div> </div> <p>So that will turn blockquotes into normal text but with indents. So this code:</p> <div class="code"> <pre> <code>&gt; Kynan is awesome!</code> </pre></div> <br /> Will render: <div style="text-indent: 3em"> <p>Kynan is awesome!</p> </div> <hr /> <p>@ Pieter</p> <blockquote> <p>p + p {</p> </blockquote> <p>OMG! I had no idea you could do that in CSS! This opens a whole world of possibilities! Is it compatible with all browsers? Do you have a link to some documentation on the subject? I tried Googling “add html elements in css”, but that rendered silly results.</p> <blockquote> <p>And while I'm at it, I wish [[span]] took a class= attribute…</p> </blockquote> <p>Umm, it does. <tt>[[span class="name"]]</tt></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-561831</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-561831</link>
				<description></description>
				<pubDate>Sat, 15 Aug 2009 13:14:47 +0000</pubDate>
				<wikidot:authorName>Kynan</wikidot:authorName>				<wikidot:authorUserId>46389</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Come to think of it, if you don't use block quotes, you could redefine that style to do what you want with a simple leading "&gt; ". Or you could hijack the style used for notes, but that syntax requires wrapping in "[[note]]...[[/note]]".</p> <p>BTW, even if I used the [[div]] method, I would do it using "class=NAME" rather than a raw style, and define the style in CSS. Much more configurable if you decide to change the appearance a bit later.</p> <p>And while I'm at it, I wish [[span]] took a class= attribute….</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-559537</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-559537</link>
				<description></description>
				<pubDate>Wed, 12 Aug 2009 09:51:48 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>A solution for all &amp;xxx variables should be doable. Personally, I just copy/paste but it's a bit evil.</p> <p>Search for "upside down text", that should do it. It's Unicode, btw, someone even more evil than me discovered that there are characters in random alphabets that just almost look like upside down Latin characters. See <a href="http://en.wikipedia.org/wiki/Transformation_of_text">http://en.wikipedia.org/wiki/Transformation_of_text</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-559106</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-559106</link>
				<description></description>
				<pubDate>Tue, 11 Aug 2009 19:57:37 +0000</pubDate>
				<wikidot:authorName>ErichSteinboeck</wikidot:authorName>				<wikidot:authorUserId>7925</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>&gt; Unicode U+2003</p> <p>Pieter, this reminds me of <a href="http://community.wikidot.com/forum/t-1091/community#post-2268">a post by someone</a> back in late 2006 asking “A related thing, how can I enter a non-breaking space?”</p> <p>And me getting into that same thread <a href="http://community.wikidot.com/forum/t-1091/community#post-51365">a year later</a> asking “Can we please have a solution for<br /> the non-breaking space (&amp;nbsp;), or better all HTML &amp;xxx; variables?”</p> <p>Can we get that maybe now?</p> <p><span style="font-size:smaller;">P.S. How do you generate that upside-down stuff?</span></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-559091</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-559091</link>
				<description></description>
				<pubDate>Tue, 11 Aug 2009 19:36:38 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div style="width:20em"> <p>  Brigand, your question was really quite fun.</p> <p>  It took me a while to find this particular solution, which I'm using here.</p> <p>  It is simple. There are no divs, no changes needed to Wikidot, no other hacks.</p> <p>   You can indent paragraphs as far as you like.</p> <p>  It works with any stylesheets.</p> <p>  It works immediately and requires just that you type the indent.</p> <p>  Are you interested? If so, əɔɐdsɯə ɹo '3002+n əɔɐds əpoɔıun ɐ s,ʇı<sup class="footnoteref"><a id="footnoteref-739978-1" href="javascript:;" class="footnoteref" >1</a></sup></p> <p>  To use, just copy and paste this code and remove or add spaces at the start using your editor's copy/paste functions. :-)</p> </div> <div class="footnotes-footer"> <div class="title">Footnotes</div> <div class="footnote-footer" id="footnote-739978-1"><a href="javascript:;" >1</a>. <a href="http://en.wikipedia.org/wiki/Space_(punctuation)#Table_of_spaces">http://en.wikipedia.org/wiki/Space_(punctuation)#Table_of_spaces</a></div> </div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-550551</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-550551</link>
				<description></description>
				<pubDate>Sat, 01 Aug 2009 18:06:04 +0000</pubDate>
								<wikidot:authorUserId>302300</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have pages where I mix paragraphs with lists without bullets or simple numbering and it's easier to just selectively pick which paragraphs to indent. I ended up re-defining h1 header and am using +* to indent paragraphs. It's not one character, but it's better than typing divs around everything.</p> <p>Have to use the * to prevent the header from showing up in the TOC, unless there's another way to use CSS to prevent that. In the end, this workaround works, but it's messy and causes problems with TOC's… so I'd still like ^ added as an indent syntax.</p> <p>Edit - I would have to have 21 paragraphs on a single page before the number of keystrokes before the +* solutions equals the [[div…. solution. =)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-550365</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-550365</link>
				<description></description>
				<pubDate>Sat, 01 Aug 2009 12:50:35 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Personally I think "lazy" is a pretty good argument. Here's something that could be fun, do it once in the CSS and then it works automatically.</p> <p>From <a href="http://www.w3.org/Style/Examples/007/indent">http://www.w3.org/Style/Examples/007/indent</a></p> <div class="code"> <pre> <code>p { margin-bottom: 0 } p + p { text-indent: 1.5em; margin-top: 0 }</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-550359</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-550359</link>
				<description></description>
				<pubDate>Sat, 01 Aug 2009 12:44:05 +0000</pubDate>
				<wikidot:authorName>RobElliott</wikidot:authorName>				<wikidot:authorUserId>111301</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>Using div's around every paragraph is not an option either because one, I'm lazy, and two… it's a lot of typing for little benefit.</p> </blockquote> <p>You put the div round the <span style="text-decoration: underline;">whole</span> text, not each paragraph. It's 2 lines only that you've got to type!</p> <p>Rob</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-550355</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-550355</link>
				<description></description>
				<pubDate>Sat, 01 Aug 2009 12:36:42 +0000</pubDate>
								<wikidot:authorUserId>302300</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Using CSS to redefine paragraphs is not a valid option for me, because I will type lists without the * or + syntax in front of them and it indents all those as well. Using div's around every paragraph is not an option either because one, I'm lazy, and two… it's a lot of typing for little benefit. That's why I would love to have ^ as simple syntax for indenting paragraphs.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-549790</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-549790</link>
				<description></description>
				<pubDate>Fri, 31 Jul 2009 19:07:07 +0000</pubDate>
				<wikidot:authorName>RobElliott</wikidot:authorName>				<wikidot:authorUserId>111301</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Using CSS templates seems like a lot of work for something that is very easy to do either in your custom theme or in a div on your page.</p> <h3><span>1) CSS:</span></h3> <p>Just add the following to your custom CSS:</p> <div class="code"> <pre> <code>p { text-indent:25px; }</code> </pre></div> <p>This will indent the text for all paragraphs throughout your site.</p> <h3><span>2) Div:</span></h3> <p>If you only want it on selected paragraphs and therefore have more flexibility, use a div like this:</p> <div class="code"> <pre> <code>[[div style="text-indent: 25px;"]] Donec viverra nibh sed.. .. etc [[/div]]</code> </pre></div> <p>which gives you:</p> <div style="text-indent: 25px;"> <p>Donec viverra nibh sed lectus sagittis ut tincidunt nulla egestas. Suspendisse ac tortor eget ligula consectetur ultricies et tincidunt nunc. Curabitur interdum consequat quam. Sed sagittis mi id ipsum dapibus faucibus. Praesent tempus rutrum lectus, gravida placerat ante malesuada molestie. Integer quis nulla ut sapien ullamcorper consequat. Nullam auctor erat sit amet massa pharetra hendrerit. Aenean accumsan posuere sodales. Ut aliquet congue convallis. Suspendisse potenti. Curabitur sit amet euismod orci. Quisque quis augue id magna tincidunt gravida.</p> <p>Ut eget lacus vel dui elementum pellentesque. Etiam rutrum scelerisque diam. Integer in ante ullamcorper massa semper tempus vitae sed purus. Etiam rutrum blandit faucibus. Pellentesque id dui libero, eu sollicitudin velit. Cras posuere ultrices ultrices. Aliquam ornare suscipit purus, vitae convallis nunc egestas in. Vivamus vel ipsum urna, et lacinia eros. Nam ultrices pharetra quam vitae rutrum. Mauris cursus mauris at sem tempus egestas.</p> <p>Vivamus et lectus tortor. Praesent tortor nibh, interdum interdum vehicula nec, molestie ultrices odio. Suspendisse urna lacus, molestie varius malesuada quis, fermentum ut dui. Etiam non erat eu leo vestibulum ultrices sed tristique nisl. Donec sit amet mi risus. Fusce vestibulum ipsum nec orci congue quis pretium urna semper. Aliquam sed sem vel sapien porttitor pretium a non justo. Curabitur in dui lectus, eu molestie sem. Sed sed erat nisl. Maecenas vel adipiscing tortor.</p> </div> <p>Rob</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-549783</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-549783</link>
				<description></description>
				<pubDate>Fri, 31 Jul 2009 18:54:05 +0000</pubDate>
				<wikidot:authorName>pieterh</wikidot:authorName>				<wikidot:authorUserId>99</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>There is no simple answer.</p> <p>Changing the wiki syntax is a low priority: it can happen, but not immediately.</p> <p>Try either of these workarounds:</p> <div class="code"> <pre> <code>[[div style="text-indent:20px"]] Your indented paragraph here. [[/div]]</code> </pre></div> <div style="text-indent:20px"> <p>Your indented paragraph here.</p> </div> <p>Or</p> <div class="code"> <pre> <code>##white|___##Your indented paragraph here.</code> </pre></div> <p><span style="color: white;">___</span>Your indented paragraph here.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-549770</guid>
				<title>Re: Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-549770</link>
				<description></description>
				<pubDate>Fri, 31 Jul 2009 18:33:03 +0000</pubDate>
								<wikidot:authorUserId>302300</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Please?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://community.wikidot.com/forum/t-172512#post-547553</guid>
				<title>Wiki Syntax for indenting a paragraph</title>
				<link>http://community.wikidot.com/forum/t-172512/wiki-syntax-for-indenting-a-paragraph#post-547553</link>
				<description></description>
				<pubDate>Wed, 29 Jul 2009 11:24:52 +0000</pubDate>
								<wikidot:authorUserId>302300</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I would like easy to use, simple syntax for indenting a paragraph that can be customized via CSS templates. I suggest using the ^ character to implement this syntax. It is currently not being used for anything by itself.</p> <p>^ This paragraph would be indented, say a minimum of 5&nbsp;em.</p> <p>This paragraph would not be indented.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
