125 Commits

Author SHA1 Message Date
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
9bb9f45326 feat: Support anchor macro 2023-04-03 13:11:35 +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
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
9e656ece15
Add Content-Appearance header
Allows switching between the "full-width" and "fixed" page layouts.

The "fixed" layout renders the page in a narrow column. (Confluence
default)

If not configured, it defaults to "full-width".
2023-03-06 10:09:28 +01:00
Fethbita
df3e95f5fd
Merge branch 'kovetskiy:master' into master 2023-02-13 16:46:45 +02:00
Fethbita
24aa73e243
Add width keyword for html comment 2023-02-13 16:46:06 +02:00
Manuel Rüger
738400c292 Add blog-posts macro 2023-02-06 18:16:39 +01:00
Fethbita
e0222ae6bd
Add ac:image width and edited README.md 2023-02-04 15:20:21 +02:00
Noam Asor
ce9573a86e To add fallack to blockquote when type is none 2023-01-28 21:15:31 +01:00
Guillaume Hérail
1b3c7b4127 fix: Properly handle macro when extracting Metadata
When a macro is set in the header, only the first line will be read and then
discarded. This makes sure we keep the macro in and stop processing metadata
when we hit a macro.

Co-authored-by: Manuel Rüger <manuel@rueg.eu>
2023-01-26 17:01:47 +01:00
Manuel Rüger
2f39cd80e7
Merge pull request #234 from Nr18/feat/jiraissues
feat: support ac:jiraissues macro
2023-01-16 15:23:18 +01:00
Egor Kovetskiy
843089aea0 all-contributors: generate thank you list
Signed-off-by: Egor Kovetskiy <e.kovetskiy@gmail.com>
2023-01-04 09:08:15 +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
Manuel Rüger
55b58bd59b
Allow Title via h1 without any other metadata (#229) 2023-01-03 17:52:48 +00:00
Joris Conijn
5f3238b48a
feat: support ac:jiraissues macro
Add support for the `ac:jiraissues` macro. By adding the template to the stdlib. Not sure if there are other places where you need to add stuff for macros. Or how I could test this locally.
2022-12-13 11:56:27 +01:00
datsickkunt
e52d40c922
update install instructions with latest go standards (#202) 2022-06-10 10:13:05 +06:00
Stephan Hradek
39dfdec099
fix 142 redone for current master (#199) 2022-06-07 14:16:24 +06:00
Stephan Hradek
ac2132b9c6
Feature/docker4build (#192)
* Help developers with docker-compose configuration

* unrequire Buillderfile

* GOOS and GOARCH from environment
2022-06-07 10:27:18 +06:00
Stephan Hradek
9ec7728d08
introduce inline templates (#198) 2022-06-07 10:26:15 +06:00
Stephan Hradek
4c812741ac
Feature/h1 title (#196)
* h1_title config

* introduce h1_title in config

* add h1_drop config setting

* allsow allow h1_drop in config
2022-06-06 12:38:23 +06:00
guoweis-outreach
9ae3e658d2
fix the README (#172)
this change allows the `box` macro to have http link inside
2022-04-22 15:17:59 +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
guoweis-outreach
08f37fe2b9
feat: add iframe support (#143)
* feat: add iframe support

* add comment
2021-12-09 11:14:01 +06:00
Egor Kovetskiy
f3ff1dc098 Add @mmiranda as a contributor 2021-11-30 15:35:10 +06:00
Egor Kovetskiy
d017d31f61 Add @jevfok as a contributor 2021-11-30 15:34:29 +06:00
Mateus Miranda
50f78ee6a1
Homebrew tap (#137)
* Add brew step on goreleaser

* Add brew install doc

* fix typo
2021-11-30 15:18:57 +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
Egor Kovetskiy
b1eea83d49 add config parameter 2021-08-23 13:20:18 +06:00
Egor Kovetskiy
c64d6e77dc Add @eitchugo as a contributor 2021-08-23 12:45:36 +06:00
Egor Kovetskiy
2ea132f84d add a note about issues, bugs, and feature requests 2021-07-14 12:45:38 +03:00
Egor Kovetskiy
5d65fddd43 Add @Taldrain as a contributor 2021-07-12 09:01:00 +03:00
Egor Kovetskiy
a4fe28ed22 Add @beeme1mr as a contributor 2021-06-30 13:14:40 +03:00
Michael Beemer
75717374a8 feat(sidebar): Add sidebar support 2021-06-17 14:56:27 -04:00
Egor Kovetskiy
a9bb6df01f Add @carnei-ro as a contributor 2021-04-21 09:43:10 +03:00
Leandro Carneiro
99119d8aff feat(macro): Add emoticon support 2021-04-20 15:35:17 -03:00
Egor Kovetskiy
74e67141ba add contributors 2021-04-09 08:31:47 +03:00
Egor Kovetskiy
e72577327c
Merge pull request #85 from wbh1/add/fileglobbing
Add support for fileglobs
2021-04-05 07:50:08 +03:00
wbhegedus
403efe3acc add support for fileglobs 2021-04-02 13:19:22 -04: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
c51629a9b8 bump to 5.2, add note about password in stdin 2021-02-09 06:58:31 +03: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
Egor Kovetskiy
ff17a4034c 3.5, get rid of duplicated docs in help 2020-12-04 00:31:44 +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