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

Table frame options and compact tables #56

Closed
anandchida opened this issue Nov 28, 2015 · 2 comments
Closed

Table frame options and compact tables #56

anandchida opened this issue Nov 28, 2015 · 2 comments

Comments

@anandchida
Copy link

RevealJS backend by asciidoctor has been fantastic and has saved me a lot of time and has built impressive presentations. It was all so easy.

I'm trying to get tables right in my presentation and have the following issues -

  1. Tables do not honor the frame="topbot" or all, or none attributes. Same applies for grid
  2. I wanted table cells to be compact to fit more data. I can fit 6 rows while 8 could be possible if cell height is reduced. Is there way to reduce cell height? I remember being a "compact" option for PDF backend I think. Any help is appreciated.
@mojavelinux
Copy link
Member

That's great to hear!

We need to incorporate custom CSS into the backend that supplements the reveal.js theme. AsciiDoc content, like tables, require additional CSS that is not going to be provided by the out-of-the-box reveal.js themes. Of course, you can supply your own custom CSS, or use docinfo to add additional CSS, but what we really should have is a CSS file that covers most of the common AsciiDoc styling and gets included into every presentation.

@obilodeau
Copy link
Member

We just merged the support for frame and grid table attributes. This will be released in the upcoming 3.0.0.

However, there is no compact option in upstream AsciiDoc tables. If you can provide an example we could develop custom CSS for it. Since this issue has been opened for a while I'm going to close it but if you are still interested in "compact", open a new issue and provide a syntax example and optionally CSS to achieve it.

@ggrossetie ggrossetie removed this from the 4.2.0 milestone Dec 15, 2020
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

4 participants