Skip to content

Do Grid Tables Support Inline Code? #11762

Closed Answered by michaelweylandt
michaelweylandt asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, there is no reliable way to use inline code within grid-tables as it's impossible to ensure proper alignment of the generated markdown (confirmed by @cscheid).

The pandoc-ext/list-table extension filter can be used instead and provides much of the same functionality (h/t @Steinthal )

To install, run

$ quarto add pandoc-ext/list-table

and then add

filters: 
    - list-table

to the relevant header metadata to activate. (Note that this extension must be reinstalled on a per-project basis.)

Thanks All!

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
5 replies
@michaelweylandt
Comment options

@michaelweylandt
Comment options

@cscheid
Comment options

@Steinthal
Comment options

@michaelweylandt
Comment options

Comment options

You must be logged in to vote
3 replies
@cscheid
Comment options

@Steinthal
Comment options

@cscheid
Comment options

Answer selected by mcanouil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
tables Issues with Tables including the gt integration pandoc markdown Related to markdown-like output format
4 participants