[pmwiki-users] Line Break GUI button or Custom Style Needed

Sivakatirswami katir at hindu.org
Fri Sep 30 22:21:45 CDT 2005

We find ourselves doing a lot of this

->%green%Tue, Nov 1-Wed, Nov 2:  CHINA AIRLINES, CI  0017\\
From:    HONOLULU, HI (HNL)  map    Departs:    8:55am\\
Departure Terminal:    MAIN TERMINAL    Gate:    Check for latest  
To:    TOKYO NARITA, JAPAN (NRT)  map    Arrives:    Verify Time\\
Arrival Terminal:    TERMINAL 2\\
Class:    Economy    Seat:    Check-In Required\\
Status:    Confirmed    Confirmation:    K3PE5Q\\
Meal:    Lunch      No Smoking:\\
Aircraft:    BOEING 747 JET      Mileage:    3831\\
Flight Time:    8  hours and  10  minutes\\
Verify flight times prior to departure\\
Flight Time Notice: Virtually There has noted a discrepancy in your  
flight times. Please verify your flight times with your travel  
arranger or airline.


1) multi-line input is pasted into the wiki
2) you don't want the text to turn into a single paragraph
3) line breaks are to be preserved as "soft returns" and initial  
block-text style is applied to all the lines as a single paragraph,  
as  any standard layout application "paragraph style" would do.

I think it's obvious what is wanted...

So, rather than having to click behind each line and enter "\\" over  
and over again... is there a recipe for this that can be set up? a  
config.php code entry? Add a GUI Button to guiedit.js? Define a  
custom style that can be entered at the beginning of the block?


More information about the pmwiki-users mailing list