Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page and images width #72

Open
xens opened this issue Mar 11, 2021 · 3 comments
Open

Page and images width #72

xens opened this issue Mar 11, 2021 · 3 comments

Comments

@xens
Copy link

xens commented Mar 11, 2021

Two questions here,

  1. When you upload a page, by default it takes the "compact" view, which is not ideal is you have large tables. Is there a way to configure the page width using metadata ?

  2. When uploading images they are rendered very small by default, is there a way to configure the default image scale for the whole document ?

Thanks, great tool btw !

@kovetskiy
Copy link
Owner

Hi,

  1. Try something like <!-- Layout: plain --> and compare it with <!-- Layout: article -->.
  2. I'm not sure why that can happen, but it's probably due to some missing API params, the code which uploads attachments is here: https://github.com/kovetskiy/mark/blob/master/pkg/confluence/api.go#L158

@xens
Copy link
Author

xens commented Mar 17, 2021

Hi,

  1. I confirm that using <!-- Layout: article --> works ! Thanks ! (I can submit a PR for the README if you think that might be useful for others).
  2. I'll have a look at the code.

@Neo1975
Copy link

Neo1975 commented Jul 23, 2021

+1 for point 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants