81 Commits

Author SHA1 Message Date
Noam Asor
8c02497b5f
Feature/prokod/#194 (#237)
* Initial commit (w/ debug)

* To remove debug
2023-01-04 08:54:15 +00:00
Zackery Griesinger
90d8729a7d
Fix for jira.com hosted sites (#231) 2023-01-03 17:54:30 +00:00
Manuel Rüger
3e558ac2e3
Replace deprecated io/ioutils (#230) 2023-01-03 17:54:04 +00:00
Stephan Hradek
f4bbbb19ca
Feature/themed blocks (#223)
* Allow themed blocks

* add macro code for themed blocks
2023-01-03 17:53:41 +00:00
Stephan Hradek
0b745c25e4
This should fix #171 by allowing a markdown link to start with ac: (#222) 2023-01-03 17:53:20 +00:00
Egor Kovetskiy
1ebb29eba0 small style fixes related to templates 2022-10-19 20:43:40 +06:00
Manuel Rüger
78345736d5
go.mod: Update dependencies (#211)
Also switch to yaml.v3
2022-10-19 20:43:12 +06:00
Toru Kawaguchi
d276b7e78a
Correct attachment name to include path on update (#215) 2022-10-19 20:42:32 +06:00
recrtl
49c25c2c29
fix 178: update breaks on more than 50 attachments (#220) 2022-10-19 20:38:49 +06:00
Egor Kovetskiy
e1d8eccfff fix ancestry search
Signed-off-by: Egor Kovetskiy <e.kovetskiy@gmail.com>
2022-06-28 16:58:44 +06:00
Stephan Hradek
abfd01cc74
fix issue 177 (#200) 2022-06-10 10:13:22 +06:00
Stephan Hradek
39dfdec099
fix 142 redone for current master (#199) 2022-06-07 14:16:24 +06:00
Stephan Hradek
9ec7728d08
introduce inline templates (#198) 2022-06-07 10:26:15 +06:00
Stephan Hradek
3c7bd6133f
allow templates and macros to include blanks in path (#191) 2022-06-06 12:35:48 +06:00
Joel Andritsch
5ad1a4abe5
bugfix: Force pages to default width. (#175)
This change is to compensate for an API bug in Confluence where newly
create pages end up getting a random width of either "fixed" or "full".

Fixes #173
2022-04-22 15:16:46 +06:00
Philipp
f95835469c
fix: remove double collapse for codeboxes (#179)
This fixes a bug where if you used the code macro the renderer would create
an additional expand macro if the collapse option was set. This led to
the code section being collapsiable twice.

Co-authored-by: Philipp Reinke <philipp.reinke@scandio.de>
2022-04-22 15:16:04 +06:00
Dreampuf
9a4f9ff32d
Add subdirectories related templates (#158) 2022-02-02 16:02:01 +06:00
Dreampuf
2251e8ad8a
Add footnotes support (#156) 2022-02-02 16:01:38 +06:00
Pommier Vincent
c8709eecd1
feat: Add support of confluence server. (#154) 2022-02-02 16:01:26 +06:00
Egor Kovetskiy
b15f1f8e70 bump to 7.0 2022-01-18 12:10:46 +06:00
klysunkin
9a7146c7d7
Fix for subdirectories related attachments (issue #31) (#151) 2022-01-18 12:07:36 +06:00
klysunkin
8d58ff26a3
Space from config and title from h1 (#153)
* Add option to define Space.
Add option to use H1 heading to define page title.

* Update readme
2022-01-18 12:05:26 +06:00
Egor Kovetskiy
9cde833a18 fix updating attachments when confluence returns a short response object 2021-12-09 11:46:57 +06:00
guoweis-outreach
08f37fe2b9
feat: add iframe support (#143)
* feat: add iframe support

* add comment
2021-12-09 11:14:01 +06:00
Egor Kovetskiy
f0e00468e9 use AutoLink rule to all links except ac: namespace 2021-11-11 14:45:08 +06:00
Egor Kovetskiy
1bd022b065 replace \r\n with \n, fix #42 2021-11-08 20:15:59 +06:00
jevfok
f3ba7c57a3
Children display macro (#133)
Added Children Display macro
2021-11-08 20:12:13 +06:00
Leandro Carneiro
3797116d97
feat: youtube widget macro (#127) 2021-10-25 15:52:04 +06:00
Leandro Carneiro
e635d1f945
feat: support mermaid graphs (#128) 2021-10-25 15:51:56 +06:00
Egor Kovetskiy
ee0a6e23e7 fix #114 do not crash when resolving links on directories 2021-09-11 14:37:45 +03:00
Egor Kovetskiy
3fcfcde298 add table test 2021-09-09 13:12:58 +03:00
Hugo Cisneiros
97313e59e1
allow space home update and its children pages (#101)
* allow space home update and its children pages

* fix coding styling

* fix coding styling

* codestyle: fix checking isHomepage

* codestyle: fix checking skipHomeAncestry

Co-authored-by: Hugo Cisneiros (Eitch) <hugo.cisneiros@ifood.com.br>
Co-authored-by: Egor Kovetskiy <e.kovetskiy@gmail.com>
2021-08-23 12:42:31 +06:00
Thomas 'Taldrain' Mariaux
8d0ad4d298 update the panel format 2021-07-10 23:01:43 +02:00
Michael Beemer
75717374a8 feat(sidebar): Add sidebar support 2021-06-17 14:56:27 -04:00
Leandro Carneiro
99119d8aff feat(macro): Add emoticon support 2021-04-20 15:35:17 -03:00
Egor Kovetskiy
5fd862c450 use docopt struct instead of map since we already have a struct 2021-04-05 08:17:26 +03:00
David Laing
07aa3700eb Add Type metadata header to enable support for Confluence Blog Posts 2021-03-31 17:49:01 +01:00
Rolf Ahrenberg
82d418e17d Add ac:box macro 2021-03-26 21:20:30 +02:00
Egor Kovetskiy
b17a955ec7 fix #74 meta now knows about Include directives 2021-03-16 07:24:51 +03:00
Egor Kovetskiy
bf4bbbe20a use my fork of blackfriday
Turns out the PR to the upstream is not merged and looks like the
maintainers didn't have a chance to merge it. The `replace` directive
causes some problems: https://github.com/kovetskiy/mark/issues/71
2021-03-11 09:00:45 +03:00
Gezim Sejdiu
2fc8ba3614 Align ancestors printouts (actual, expected) while validating ancestry 2021-02-24 23:07:32 +01:00
Egor Kovetskiy
c17a3d02d0 fix regression after #60 2021-02-04 12:18:28 +03:00
Egor Kovetskiy
931d9f706a confirm #64 by a test (broken now) 2021-02-04 11:58:44 +03:00
Egor Kovetskiy
7f6466a882 upgrade to blackfriday v2, fixes #53 and #61, add tests 2021-02-02 17:44:56 +03:00
Egor Kovetskiy
e190cdfb34 rollback #53 because of #63, add tests 2021-02-02 17:44:56 +03:00
Egor Kovetskiy
58ad4ff85b show what ancestors were expected 2021-02-02 08:06:14 +03:00
Tyler Cole
6633ff22ba fix for https://github.com/kovetskiy/mark/issues/58 2021-01-25 16:10:41 -06:00
Matt Radford
2db0de7228 Join lines in compiled markdown so lists render in Confluence without extra whitespace 2021-01-12 21:37:07 -08:00
Rolf Ahrenberg
1d8e43add2 Add --minor-edit command-line flag 2021-01-04 16:18:38 +02:00
Rolf Ahrenberg
f86dd2723a Add label support 2021-01-04 15:23:12 +02:00