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

feature request(customization): custom classes #11

Open
Kristinita opened this issue Dec 31, 2023 · 0 comments
Open

feature request(customization): custom classes #11

Kristinita opened this issue Dec 31, 2023 · 0 comments

Comments

@Kristinita
Copy link
Contributor

1. Summary

It would be nice if just_table users had the ability to create tables with custom classes.

2. Argumentation

Users of just_table may want to customize some tables.

For example, I use the library Basic Table for creating responsible tables.

If this plugin is enabled, by default mobile users see tables like this:

Default “Basic Table” table on mobile devices

But for some of my tables, I think tables would look better like this on mobile devices:

Custom “Basic Table” table on mobile devices

I don’t know how to realize this if all tables have the same default class.

3. Example of expected behavior

Markdown:

[jtable class="KiraNonDefaultTableClass"]
<!-- Table content -->
[/jtable]

This will be transformed into HTML:

<table class="KiraNonDefaultTableClass">
<!-- Table content -->
</table>

Thanks.

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

No branches or pull requests

1 participant