I have hacked a script which converts the selected text in Ecto to the following formatted text.
while (<>) {
$text .= $_;
}
# procedural usage
my $html = textile($text);
#print $html; <—- this would get printed in a dialog box
open ( FILE, “>$entryfile” ) or die;
print FILE $html;
close FILE;
[Update: If you look carefully, syntax highliting done by the [...]
Recent Comments