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

Rakudoc tables not converted to Markdown #33

Open
tbrowder opened this issue Nov 11, 2023 · 0 comments
Open

Rakudoc tables not converted to Markdown #33

tbrowder opened this issue Nov 11, 2023 · 0 comments

Comments

@tbrowder
Copy link

tbrowder commented Nov 11, 2023

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.

@tbrowder tbrowder reopened this Nov 11, 2023
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