Skip to content

Add support for other than c++ languages in code blocks#12

Open
eliottparis wants to merge 1 commit into
masterfrom
broader-codeblock-lang-support
Open

Add support for other than c++ languages in code blocks#12
eliottparis wants to merge 1 commit into
masterfrom
broader-codeblock-lang-support

Conversation

@eliottparis

Copy link
Copy Markdown
Contributor

This PR adds support for other than c++ languages in code blocks.

This should allow, for example, having a code block containing Swift code to be properly highlighted when using the Github flavored Markdown output format of otdgen.

Fixes #11.

@eliottparis eliottparis force-pushed the broader-codeblock-lang-support branch from 3bfd33f to 8b7fe82 Compare July 6, 2019 09:09

@ohmtech-rdi ohmtech-rdi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And complete the PR by telling explicitly what naming standard is used for language

DocCodeBlock & operator = (DocCodeBlock && rhs) = default;

Type type;
std::string type;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please specify the naming standard used here as a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support other than cpp languages in DocCodeBlock

2 participants