clartaq

clartaq ·

clartaq accepted post in vsch/flexmark-java

Hooks into wikilinks extension rendering?

You should not use relative links for your href. The About page is really at not . When you create the relative link for a page at the browser sees it as located in so any relative links in that page will be relative to the page directory. Hence you s...

Hooks into wikilinks extension rendering?

Hmmm... I think you are right. My request handler knows how to respond to URLs of that form. But I'm abusing the rules for constructing URLs in a way that no third party software would be aware of. I'll rework the routing based on query strings, which I ...

Hooks into wikilinks extension rendering?

The HTML doesn't change. It's <a href="About">About</a> for the "About" page, for example. That is the HTML produced by a wikilink typed into a page or one generated by the program as described.

Here's the HTML for the page generated to show all wiki pa...

Hooks into wikilinks extension rendering?

I was finally able to get back to this. Things mostly work with one problem
I'll get to in a moment.

I ended up writing an AttributeProvider and associated HtmlRendererExtension.
(I put them in a gist here
if you are interested.)

They do exact...

Hooks into wikilinks extension rendering?

Thanks for the quick, helpful response! I'll give it a try.

Hooks into wikilinks extension rendering?

I'm working on a wiki program that uses Markdown for it's content. I've been using flexmark (thank you so much) to handle the Markdown and passing that on to MathJax to handle rendering mathematics.

I also use Mediawiki style wikilinks, "[[link-part|o...

Joined GitQ

on