Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Table caption support?
*Created by: vmassol*
Hi,
I'm workjng on migrating table support in XWiki, moving from pegdown to flexmark-java. I have basic support working but advanced usages still need some tuning.
For example the following input was working before in pegdown:
````
col1 |col2 |
-------|--------|
cell11 | cell12 |
cell21 | cell22 |
[caption]
````
But with flexmark-java and the tables extension, the caption is considered as text.
I see that table caption is mentioned at https://github.com/vsch/flexmark-java/blob/7a1bc9f0727f62879dfb1f268640e52d987b33c9/flexmark-ext-tables/src/test/resources/ext_tables_ast_spec.md#L14-L14 but I couldn't find any test for it in the md file.
Could you let me know if this is implemented and if not, if it's planned?
Note that I do have a handler registered for `TableCaption` but my `visit(TableCaption node)`is not called with the input given above.
Thanks
issue