No internal links for Twiki? #5

Open
dgoade opened this Issue Jan 4, 2013 · 1 comment

Projects

None yet

2 participants

@dgoade
dgoade commented Jan 4, 2013

Hi,

It appears that internal pod links are not converted into Twiki style internal links. It seems the simplest way to do this would be to make the following conversions:

"L" ->[Pod::Simple::Wiki]-> "[[#here][here]]"

"=item * here" ->[Pod::Simple::Wiki]-> "#here/n=item * here"

(where /n would be a newline, creating a Twiki-style anchor on its own line right above the corresponding item, head, etc.)

It looks like something should be happening in Pod::Simple::Wiki::Mediawiki but it's apparently not even being called for internal links. I could take a stab at adding this myself if you could point me in the right direction.

-David

@jmcnamara
Owner

Hi David,

The Twiki module predates proper link support in Pod::Simple so that is why links aren't handled.

If you would like to add it that would be good.

Copy the mechanism from the Pod::Simple ::Wiki::Mediawiki module and adapt it to Twiki. Maintain the surrounding style and add some tests. Again copy the Pod::Simple ::Wiki::Mediawiki tests.

Regards,

John

@jmcnamara jmcnamara closed this Oct 19, 2015
@jmcnamara jmcnamara reopened this Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment