504 Commits

Author SHA1 Message Date
Manuel Rüger
72cfc04ab6 Bump version to 9.3.0 9.3.0 2023-05-03 18:47:50 +02:00
Manuel Rüger
fd97ee70f9 Support inline images 2023-05-03 18:47:20 +02:00
Manuel Rüger
2b756daf37 Add debug output for config 2023-05-03 18:30:47 +02:00
Manuel Rüger
51accf008f Bump version to 9.2.1 9.2.1 2023-04-26 12:15:14 +02:00
Manuel Rüger
73f2693421 Dockerfile: Use dumb-init and overwrite entrypoint 2023-04-26 12:14:49 +02:00
Manuel Rüger
abd0c8bad6 Bump version to 9.2.0 9.2.0 2023-04-26 08:03:04 +02:00
Dreampuf
d9d560eda0 Add support for mermaid via library
Implementation is largely based on: https://github.com/kovetskiy/mark/pull/167

Co-Authored-By: Manuel Rueger <manuel@rueg.eu>
2023-04-25 23:59:17 +02:00
Manuel Rüger
88c070f524 Add issue templates 2023-04-25 22:58:00 +02:00
Manuel Rüger
4c3d417725 Ignore error if default config file does not exist 2023-04-25 22:47:40 +02:00
Manuel Rüger
2f44bcb6be Make config backwards-compatible 2023-04-20 14:34:55 +02:00
Manuel Rüger
262853f6c0 Simplify config handling
* Switch to urfave/cli/v2
* Add more environment variables
2023-04-20 14:34:55 +02:00
Manuel Rüger
d1f69bc704 Bump version to 9.1.4 9.1.4 2023-04-03 14:26:09 +02:00
Manuel Rüger
2773e15056 .github: Quote go version 2023-04-03 14:26:09 +02:00
Manuel Rüger
1c1f82a55e Bump version to 9.1.3 9.1.3 2023-04-03 14:06:23 +02:00
Manuel Rüger
2e52ae8847 .github: Fix goreleaser build 2023-04-03 14:06:23 +02:00
Manuel Rüger
c6d01eb3de Bump version to 9.1.2 9.1.2 2023-04-03 13:56:49 +02:00
Manuel Rüger
f75924b1a9 .github: Fix tag 2023-04-03 13:56:49 +02:00
Manuel Rüger
20afbc534a Bump version to 9.1.1 9.1.1 2023-04-03 13:42:38 +02:00
Manuel Rüger
768b470322 .github: Fix release workflow 2023-04-03 13:42:38 +02:00
Manuel Rüger
657d4f5c61 Bump version to 9.1.0 9.1.0 2023-04-03 13:32:51 +02:00
Manuel Rüger
1b6ab893ef
Merge pull request #279 from mrueg/build-fixes
go 1.20 / docker image push automation
2023-04-03 13:32:20 +02:00
Manuel Rüger
429bbf9bff Push Docker image on tag 2023-04-03 13:30:48 +02:00
Manuel Rüger
7969bcbfdd
Merge pull request #278 from mrueg/add-anchor
feat: Support anchor macro
2023-04-03 13:30:10 +02:00
Manuel Rüger
eade059cad Update to go 1.20 2023-04-03 13:21:40 +02:00
Manuel Rüger
9bb9f45326 feat: Support anchor macro 2023-04-03 13:11:35 +02:00
Manuel Rüger
a29feb1e96
Merge pull request #277 from mrueg/support-ac-include
feat: Support page include, excerpt and excerpt-include macro
2023-04-03 10:23:00 +02:00
Manuel Rüger
deb7cd9cbc feat: Add Excerpt and ExcerptInclude macros 2023-03-31 17:35:18 +02:00
Manuel Rüger
1285947ab3 feat: Support page inclusion macro
Also generalize the ac_tag_parser a bit and support <ri:* /> tags as
well
2023-03-31 16:47:24 +02:00
Manuel Rüger
943a356508 Bump version to 9.0.3 9.0.3 2023-03-31 11:40:29 +02:00
Manuel Rüger
8193f2d466
Merge pull request #273 from bernd/fix/issue-272
Implement a custom parser for `<ac:*/>` tags
2023-03-31 11:35:42 +02:00
Bernd Ahlers
80d906417c
Fix custom link renderer and add tests for Confluence links
Since we now have a custom parser for <ac:*/> tags, the custom link
renderer added an additional </a> tag at the end of each internal
Confluence link.

Add tests for internal links and add an example for internal links with
spaces in page titles to the README file.
2023-03-31 11:09:58 +02:00
Bernd Ahlers
6e4a912b11
Implement a custom parser for <ac:*/> tags
This replaces the workaround to replace colons in <ac:*/> tags with a
magic string with a custom parser for these tags to parse them as
ast.KindRawHtml.

The custom parser is a stripped down version of goldmark's rawHTMLParser.
2023-03-31 10:51:50 +02:00
Manuel Rüger
e7e61ba234 Bump version to 9.0.2 9.0.2 2023-03-30 15:02:05 +02:00
Manuel Rüger
a60dd52442
Merge pull request #270 from bernd/fix/ac-tag-escaping
Fix "<ac:*>" tag rendering
2023-03-30 15:01:03 +02:00
Bernd Ahlers
974de93ef1
Rename variable 2023-03-30 14:34:19 +02:00
Bernd Ahlers
238ae29b59
Fix "<ac:*>" tag rendering
Extend the existing workaround to avoid HTML element escaping to handle
more variants.
2023-03-30 14:30:15 +02:00
Manuel Rüger
98e15ed7ff Bump version to 9.0.1 9.0.1 2023-03-29 15:57:13 +02:00
Manuel Rüger
fca934f90c
Merge pull request #268 from mrueg/fix-codeblock
Render codeblocks properly
2023-03-29 15:56:23 +02:00
Manuel Rüger
6265c7ff81 Render CodeBlocks properly 2023-03-29 15:45:11 +02:00
Manuel Rüger
fef66925d1 Bump version to 9.0 2023-03-29 11:01:07 +02:00
Manuel Rüger
93218f1e69
Merge pull request #260 from mrueg/switch-to-goldmark
Replace blackfriday with goldmark
9.0
2023-03-28 16:54:04 +02:00
Manuel Rüger
a3dc8bed05 Replace blackfriday with goldmark
This change replaces the unmaintained blackfriday markdown renderer with the
goldmark renderer.
The goal is to have wider support for more markdown extensions and ideally
have a better solution for mermaid transformation via extensions as well.
2023-03-27 20:36:43 +02:00
Manuel Rüger
3dd6d0ab99 Bump version to 8.10 8.10 2023-03-27 20:16:21 +02:00
Manuel Rüger
700cbc139a
Merge pull request #265 from lucasoskorep/fix/relative-links
Fix: Relative links extractmetadata files for filetypes other than markdown.
2023-03-23 08:01:46 +01:00
Lucas Oskorep
30b0785fae feat: moving to IsTextFile for file type detection 2023-03-22 19:14:34 -04:00
Lucas Oskorep
67c9b248dd fix: extract metadata fails for file types which are not .md 2023-03-22 15:45:14 -04:00
Manuel Rüger
d00d94afa3 Bump to version 8.9 8.9 2023-03-21 11:09:47 +01:00
Manuel Rüger
530ff5cc3c
Merge pull request #262 from mrueg/fix-relative-links
fix: Support relative links with titleFromH1
2023-03-21 11:07:59 +01:00
Manuel Rüger
9840c01e8a Include space parameter as well 2023-03-20 22:54:11 +01:00
Manuel Rüger
21cf51efd7 Clean up logic a bit 2023-03-20 19:56:02 +01:00