Skip to content

Setting the markup language for a file not on stdin. #801

Answered by jdkato
rouilj asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, but this will only work from the command-line and with single-file or all rst input.

Another approach is to use the format association section:

[formats]
txt = rst

This will work everywhere (e.g., editor extensions) and with multi-format input.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by rouilj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants