Skip to content

A custom WordTemplate including a space #718

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

You must be logged in to vote

What I'd do in this case is assign an embedded markup syntax to the comments:

[formats]
# Treat .cc comments as Markdown
cc = md

[*.cc]
# You then have access to all Markup-related features,
# such as TokenIgnores and BlockIgnores.
TokenIgnores = (\\c \w+)

I'm not familiar enough with qdoc markup to know if there's any significant syntax incompatibilities with Markdown, but it doesn't seem like it.

It's also possible that qdoc support could be added natively to Vale. Is there a command-line toolchain for converting qdoc to HTML?

Replies: 1 comment 3 replies

Comment options

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

@veshivas
Comment options

@veshivas
Comment options

Answer selected by veshivas
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