| 1 |
wakaba |
1.1 |
#?SuikaWikiConfig/2.0 |
| 2 |
|
|
|
| 3 |
|
|
Plugin: |
| 4 |
|
|
@Name: PlainText |
| 5 |
|
|
@Description: |
| 6 |
|
|
@@@: Plain-text input/output implementation |
| 7 |
|
|
@@lang:en |
| 8 |
wakaba |
1.5 |
@License: %%Perl%% |
| 9 |
wakaba |
1.1 |
@Author: |
| 10 |
|
|
@@Name: |
| 11 |
|
|
@@@@: Wakaba |
| 12 |
|
|
@@@lang:ja |
| 13 |
|
|
@@@script:Latn |
| 14 |
|
|
@@Mail[list]: w@suika.fam.cx |
| 15 |
wakaba |
1.5 |
@Date.RCS: |
| 16 |
|
|
$Date: 2004/04/25 07:06:50 $ |
| 17 |
|
|
@Namespace: |
| 18 |
|
|
@@edit: |
| 19 |
|
|
http://suika.fam.cx/~wakaba/-temp/2004/7/25/sw-edit# |
| 20 |
wakaba |
1.1 |
|
| 21 |
|
|
PluginConst: |
| 22 |
|
|
@NS_XHTML1: |
| 23 |
|
|
http://www.w3.org/1999/xhtml |
| 24 |
|
|
|
| 25 |
|
|
Format: |
| 26 |
wakaba |
1.2 |
@Type: text/plain |
| 27 |
wakaba |
1.1 |
@ModuleName: |
| 28 |
|
|
Text::Plain |
| 29 |
|
|
@Description: |
| 30 |
|
|
@@@: text/plain; format=fixed |
| 31 |
|
|
@@lang:en |
| 32 |
|
|
|
| 33 |
|
|
@Use: |
| 34 |
|
|
use Message::Markup::XML::QName qw(NS_xml_URI); |
| 35 |
|
|
|
| 36 |
|
|
@Converter: |
| 37 |
|
|
@@Type: text/html |
| 38 |
|
|
@@IsFragment: 1 |
| 39 |
|
|
@@Description: |
| 40 |
|
|
@@@@: Converting plain-text to Hypertext Markup Language fragment |
| 41 |
|
|
@@@lang:en |
| 42 |
|
|
@@Main: |
| 43 |
|
|
for ($opt->{-parent}->append_new_node (type => '#element', |
| 44 |
|
|
namespace_uri => $NS_XHTML1, |
| 45 |
|
|
local_name => 'pre')) { |
| 46 |
wakaba |
1.2 |
$_->append_text ($$source); |
| 47 |
wakaba |
1.1 |
$_->set_attribute ('space' => 'preserve', |
| 48 |
|
|
namespace_uri => NS_xml_URI); |
| 49 |
|
|
} |
| 50 |
|
|
|
| 51 |
|
|
@Converter: |
| 52 |
|
|
@@Type: text/plain |
| 53 |
|
|
@@Description: |
| 54 |
|
|
@@@@: Converting plain-text to plain-text (noop) |
| 55 |
|
|
@@@lang: en |
| 56 |
|
|
@@Main: |
| 57 |
wakaba |
1.2 |
$r = $$source; |
| 58 |
wakaba |
1.3 |
|
| 59 |
|
|
@HeadSummary: |
| 60 |
|
|
@@Main: |
| 61 |
|
|
return $$source; |
| 62 |
wakaba |
1.5 |
|
| 63 |
|
|
@Prop: |
| 64 |
|
|
@@edit:new-mode--pe--propedit: pe--propedit |
| 65 |
wakaba |
1.4 |
|
| 66 |
|
|
Resource: |
| 67 |
|
|
@WikiFormat:MediaType:Description:IMT:text/plain##: |
| 68 |
|
|
@@@: Plain text (as is) |
| 69 |
|
|
@@lang: en |
| 70 |
|
|
@WikiFormat:MediaType:Label:IMT:text/plain##: |
| 71 |
|
|
@@@: Plain text |
| 72 |
|
|
@@lang: en |