Skip to content

Rakudoc tables not converted to Markdown #33

Open
@tbrowder

Description

@tbrowder

This rakudoc chunk:

=begin table :caption<Latest Rakudo binary files for GNU/Linux>
File                                                         | Size
-------------------------------------------------------------+---------
rakudo-moar-2023.10-01-linux-x86_64-gcc.tar.gz               | 19.50 MB
rakudo-moar-2023.10-01-linux-x86_64-gcc.tar.gz.asc           | 228.00 B
rakudo-moar-2023.10-01-linux-x86_64-gcc.tar.gz.checksums.txt | 1.02 KB
=end table

gets converted to html instead of Markdown:

<table class="pod-table">
<caption>Latest Rakudo binary files for GNU/Linux</caption>
<thead><tr>
<th>File</th> <th>Size</th>
</tr></thead>
<tbody>
<tr> <td>rakudo-moar-2023.10-01-linux-x86_64-gcc.tar.gz</td> <td>19.50 MB</td> </tr> <tr> <td>rakudo-moar-2023.10-01-linux-x86_64-gcc.tar.gz.asc</td> <td>228.00 B</td> </tr> <tr> <td>rakudo-moar-2023.10-01-linux-x86_64-gcc.tar.gz.checksums.txt</td> <td>1.02 KB</td> </tr>
</tbody>
</table>

From looking at the code I see that is intentional, but why? I'm trying to convert Rakudoc to Markdown for a Raku Advent article and this is not suitable.

At least give the user a choice of how to render the table.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions