idmillington / undum

A client-side framework for narrative hypertext interactive fiction.
https://idmillington.github.com/undum
MIT License
336 stars 80 forks source link

Issue #27: alternate link syntax #32

Closed Oreolek closed 10 years ago

Oreolek commented 10 years ago

I've implemented it using regular expressions: http://regexr.com/398me

It doesn't need to be fool-proof (and not that we'd include something like "onceover" as a different parameter class). Also works for transient class. I've changed link regexp not to slap the raw class on them.

idmillington commented 10 years ago

Thanks so much for these fixes and pull requests. Just FYI I'm leaving today for vacation for a week, so I won't merge until I get chance to run the code when I get back. Just so you know I'm not delaying.