home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] web app for adding spaces to front of text lines?

  • Subject: Re: [OCLUG-Tech] web app for adding spaces to front of text lines?
  • From: Darcy Whyte <darcy [ at ] siteware [ dot ] com>
  • Date: Fri, 7 Oct 2011 14:08:45 -0400
Not sure I'd want them in a wiki then personally.

I bet you'd get better mileage out of wordpress.

There is probably a plugin where they could highlight text and mark it for
pre formatting.



On Fri, Oct 7, 2011 at 2:01 PM, John C Nash <nashjc [ at ] uottawa [ dot ] ca> wrote:

> HTML is a 4 letter word for my users. And I try to avoid mixing HTML with
> the Mediawiki
> formatting. These are folk dancers, and computers are VERY foreign to them.
> But they can
> understand the way typewriters work -- some of them still have typewriters!
>
> JN
>
>
> On 10/07/2011 01:55 PM, Darcy Whyte wrote:
> > html pre?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Fri, Oct 7, 2011 at 1:19 PM, John C Nash <nashjc [ at ] uottawa [ dot ] ca <mailto:
> nashjc [ at ] uottawa [ dot ] ca>>
> > wrote:
> >
> >     I have a wiki that has instructions for several hundreds of folk
> dances. The simplest way
> >     for folk to put these in is as plain text, then use the "grey box"
> wiki feature to
> >     maintain a monospaced font, as it helps to give the A, B and C parts
> of the music and the
> >     bar counts for each figure -- a very crude tabular format. For those
> not familiar, putting
> >     2 spaces (some specs say 1 is enough) creates a typewriter like text
> box on Mediawiki
> >     (Wikipedia software).
> >
> >     On my own machines, I have a command line tool in Perl that does this
> job to all lines of
> >     a file. However, for my wiki users, it would be nice to have a link
> on the wiki that opens
> >     a new tab with a text box and a button that will add the spaces to
> the text in the box.
> >     Then the material can be copied and used in the wiki page. I'm sure
> someone must have done
> >     this before, but finding such a beast (or even thinking of the right
> search terms) is
> >     non-trivial. I'd welcome pointers or some prototype HTML/Javascript
> or whatever. I'm sure
> >     it is not that difficult, but though I've done some php, I've no
> expertise in Javascript.
> >
> >     Best, JN
> >     _______________________________________________
> >     Linux mailing list
> >     Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca <mailto:Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca>
> >     http://oclug.on.ca/mailman/listinfo/linux
> >
> >
> _______________________________________________
> Linux mailing list
> Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> http://oclug.on.ca/mailman/listinfo/linux
>