Re: Using creole.e

new topic     » goto parent     » topic index » view thread      » older message » newer message
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?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu