1. Using creole.e

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?

new topic     » topic index » view message » categorize

2. Re: Using creole.e

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 message » categorize

3. Re: Using creole.e

DerekParnell said...

What are you expecting to get?

It's working now that I'm supplying a generator.

Thanks!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu