<http://forum.pspad.com/read.php?f=2&i=11308&t=11291> 
----------------------------------------------------------------

There have been some questions about formatting text for specific cases and
request to add foo or boo converter. These request make the fact the PSPad
is a multi-use text editor even more apparent.  To deal with these unique
cases there are a number of routes that may be taken. They included in no
specific order:
-Tools via links panel
-External applications
-Compile
-Plugins (open/save)
-Scripts


Below is just an example for how text from PSPad can be formatted using
markdown.
It is by no means the only or the best way.

Requirements:
-PSPad version 4.3.3 or later
-PHP version 4.0.5 or later

Scripts:
-PHP Markdown 1.0 or later
http://www.michelf.com/projects/php-markdown/

-Command line interface (CLI) for php-markdown
http://gogogadgetscott.info/computers/cc/snippet.php?sid=53

-Markdown PSPad VBScript
http://gogogadgetscott.info/computers/cc/snippet.php?sid=52

Install:
Download PHP Markdown
Move CLI for php-markdown to PHP Markdown folder
Move Markdown PSPad VBScript to ./PSPad/Script/vbscript/
Edit Markdown PSPad VBScript to reflect correct paths for php and
markdown_cli
Recompile Scripts

Use:
Select text to be formatted or select none to format entire file.
Select menu Scripts > Markdown > Convert text

---
Feel free to post your own solutions here.

[%sig%]

-- 
PSPad freeware editor http://www.pspad.com

Reply via email to