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
elgreco247
8018b54627
Fix RestrictPageUpdatesServer ( #45 )
2020-12-08 11:53:15 +03:00
Egor Kovetskiy
d4008a5b72
Fix replacing relative links, fix #43
2020-12-04 00:28:52 +03:00
Juho Saarinen
63fe97beaa
Support for relative links ( #33 )
...
* Support for relative links
Fixes #25
* Error logging fixes
* Better regexp
2020-11-30 10:47:46 +03:00
Šarūnas Nejus
bcf2acb39f
Incorporate the collapsible code block ( #39 )
...
* Incorporate the collapsible code block
* Press tilda 3 times
2020-11-30 10:46:29 +03:00
Šarūnas Nejus
27e7af5b85
Parametrize the toc but have default values ( #38 )
2020-11-30 10:45:02 +03:00
Luke Fritz
4ea476ace2
Add Option for Dropping Leading H1 Heading ( #36 )
...
* Add goland IDE prefs to .gitignore
* Add flag for removing leading H1 heading in markdown; fixes #35
* Remove manpage reference to unused -n and -c args
* Add manpage docs for --drop-h1 argument
* Update docs; add docs for --drop-h1 argument
* Rename method to be more verbose; add code comments
Renames to `DropDocumentLeadingH1` to better denote the method's
purpose and adds code docs to this effect in order to hopefully
negate potential misuse on single lines.
* Revert "Add manpage docs for --drop-h1 argument"
This reverts commit 48a641baed05540f6172fe9b780b06eacad4dc28.
The `--drop-h1` flag is not understood as an argument in this
context, but rather is folded under `[options]`. This change
caused the arguments to not be properly parsed when the --drop-h1
flag was passed.
2020-11-20 17:44:41 +03:00
Egor Kovetskiy
ec4b258635
trace level is very verbose now
2020-11-03 17:14:33 +03:00
Stefano Teodorani
eda2e4704d
Added support for v2 Confluence page format ( #29 )
...
* Added support for v2 pge format
* Added toc macro
* Added toc to documentation
Co-authored-by: Stefano Teodorani <teopost@sviluppo06.apex-net.it>
2020-10-19 17:46:52 +03:00
Egor Kovetskiy
da99cbb9d7
drop attachment:// proto, improve docs
...
Removed attachment:// proto from docs, back compatibility is saved.
Now using the implementatin of `Attachment:` provided by @csoutherland.
Removed a bunch of swear stuff from docs, oh boy I was so frustrated at
that time.
2020-07-25 10:58:32 +03:00
Charles Southerland
7145cb49b3
Add ExactAttachment header
2020-06-25 00:36:08 -05:00
Stanislav Seletskiy
b7709aa344
#20 : fix duplicated macro expansion
2020-04-13 16:56:06 +03:00
Egor Kovetskiy
95f50c1a34
do not require full ancestry, improve dry-run mode
2020-01-03 23:29:18 +03:00
Devin Auclair
4c5b505b38
Fixed #11 : Allow Confluence Space to be mixed case
...
Swap `ToUpper` for `TrimSpace` in meta parser to leave the case as it
was passed.
2019-11-22 15:25:00 -05:00