Understanding formats, file extensions, and format associations #952
-
Consider a project that has both Hugo Markdown and plain Markdown. I want each one to use different style guides. The only way I have made this "work" is by associating the ; Third party style guides for download
Packages = Google, Readability, Hugo
[formats]
hugo = markdn
; Settings for Hugo Markdown Files
[*.markdn]
BasedOnStyles = Vale, ProjectStyle
Vale.Spelling = NO
[*.md]
BasedOnStyles = Vale, Google, ProjectStyle
Vale.Spelling = NO Is this the correct approach? Is it even doing what I think it's doing? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can assign a format and still reference the file by its real extension: [formats]
hugo = md
[*.hugo]
... |
Beta Was this translation helpful? Give feedback.
-
Thanks -- I will write that up |
Beta Was this translation helpful? Give feedback.
Yes.