Some people have asked for a javascript formatting toolbar above the post textarea. Here is my variant. Just copy the below text to your free nodelet settings.
<script type="text/javascript" defer><!--
function edittoolbar_help(){window.alert('Separate paragraphs with "<p
+>", put "<c>".."<\x2fc>" around code or data (linebreaks inside it ar
+e taken literally) and you\x27ll be okay. Don\x27t forget to check i
+f the preview looks right.');}
(function(){
var d=document,c="createElement",i="appendChild";
var t=d.getElementsByTagName("textarea")[0];
function b(x){ t.parentNode.insertBefore(x,t) };
if(t){
var l=d[c]("a"),m=d[c]("img");
m.src="http://www.math.bme.hu/~ambrus/pu/edittoolbar";
m.border=0;
l.href="javascript:edittoolbar_help()";
l[i](m);b(l);b(d[c]("br"));
}
})();
//--></script>
If people like this, it could even be made an official perlmonks patch to aid some new monks which you can then disable by a setting. Of course in that case the image has to be copied to the perlmonks server.
Update: see also Free Nodelet Hack: a graphical editor for composing nodes, PerlMonks Editor.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|