forked from butscher/WikidPad
-
Notifications
You must be signed in to change notification settings - Fork 0
PasteHTML
Christian Ziemski edited this page Mar 7, 2016
·
6 revisions
Add the ability to paste formated text from programs that support copying to HTML.
-
The script is set up for the default wikidpad parser (though it is customizable if you use a custom one or you don't like the default settings)
-
Its still early days so some stuff may not be included or handled incorrectly. If so let me know and I'll look at fixing it
-
I've tested this mainly with content from wikipedia, whilst it should work with any (valid) html your results may vary.
- The code shown below is for wikidPad 2.2beta05 and later. If you are using an earlier version please use this file (http://xa.yimg.com/kq/groups/12093615/2032806777/name/PasteHTML-2.2beta04.py) instead.
As usual save to a file in your user_extensions folder.
See attached file below.
Attachments
- PasteHTML.py (27246 bytes)
Source: http://trac.wikidpad2.webfactional.com/wiki/PasteHTML