Skip to content

How to auto-format Latex with a prettier plugin? #5690

Answered by trgsv
trgsv asked this question in General
Discussion options

You must be logged in to vote

Thank you! This configuration works:

[[language]]
name = "latex"
formatter = { command = 'prettier', args = ["--parser", "latex-parser"] }
auto-format = true

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@trgsv
Comment options

@the-mikedavis
Comment options

@trgsv
Comment options

@the-mikedavis
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by the-mikedavis
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@fidelicura
Comment options

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