haruki-sugarsun / confluenece_site_converter

Tool to fetch and apply simple converstion from Pages in Confluence. Primarily for private use.
0 stars 0 forks source link

Support links with "anchor", "hash", or fragment properly. #18

Open haruki-sugarsun opened 2 weeks ago

haruki-sugarsun commented 2 weeks ago

Links with URL fragments are not appropriately translated now. e.g. https://sickhack.atlassian.net/wiki/spaces/TS/pages/760545304/Sabbatical+2024+-+Reports+-+Travel+Visiting#Travel-to-Kita-Karuizawa while it is technically possible to translate such anchor/hash to inner-page links. For the above case, it can be https://text.sickhack.net/c/760545304/#Sabbatical2024-Reports-Travel/Visiting-TraveltoKita-Karuizawa It is a bit complex as Jekyll also processes it.

CURRENT BEHAVIOR:

EXPECTED BEHAVIOR: