Peanut Markup Language

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Mark Anderson

Peanut Markup Language

Post by Mark Anderson »

I was going to have a go at developing a Syntax file for the mark-up language for Palm Press eBooks, but I am having a hard time getting started as the documentation seems a little light on the structure of the syntax files. I thought it would be easier to start from an existing file, but I am having trouble identifying something similar in structure as a starting point. It seems closest to Rich Text, but that doesn't seem to have been done either.

Does anyone have a suggestion on where i could start?

Also, does any one know of a tool for stripping HTL tags from documents?

Any help appreciated.
Jeff Epstein

Re: Peanut Markup Language

Post by Jeff Epstein »

Regarding stripping all html out of your document:

Replace: <[^>]+>
Replace with: [nothing]
Regular expression: Checked

You'll still have to clean it up a bit, but it's a good start. Reduced the html code of this very page (view source) by about 80%.
Post Reply