1. Using creole.e
- Posted by euphoric (admin) Sep 04, 2009
- 1010 views
- Last edited Sep 05, 2009
I've got a link like this in my pre-processed text:
[[files/mydoc.doc My Doc]]
creole.e is not processing that into a link for me when I do
mytxt = creole_parse( mytxt )
Where are the creole docs and why isn't it working for me?
2. Re: Using creole.e
- Posted by DerekParnell (admin) Sep 04, 2009
- 1017 views
- Last edited Sep 05, 2009
euphoric said...
I've got a link like this in my pre-processed text:
[[files/mydoc.doc My Doc]]
creole.e is not processing that into a link for me when I do
mytxt = creole_parse( mytxt )
Where are the creole docs and why isn't it working for me?
The docs are not written yet, sorry. Note to self: Write the creole docs
What are you getting when you run that line of code?
When I run this program ...
include creole.e include std/console.e include html_gen.e sequence x x = creole_parse("[[files/mydoc.doc My Doc]]", routine_id("html_generator"), "X") display (x)
I get ...
<p><a href="files/mydoc.doc">My Doc</a></p>What are you expecting to get?
3. Re: Using creole.e
- Posted by euphoric (admin) Sep 04, 2009
- 984 views
- Last edited Sep 05, 2009
DerekParnell said...
What are you expecting to get?
It's working now that I'm supplying a generator.
Thanks!