Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ```lang for code blocks if lang is set in the config #9

Merged
merged 5 commits into from May 24, 2017

Conversation

samcv
Copy link
Collaborator

@samcv samcv commented May 21, 2017

=begin code :lang
foo
=end code

Will result in:

```perl6
foo
```
  • Add a test for codeblocks with lang set

If we recurse through pod2markdown then our indenting does not get retained.
Since we already have a Pod::Block::Code, all we need to do is join, since
we have all the data already

samcv added 5 commits May 21, 2017 16:32
=begin code :lang<perl6
foo
=end code

Will result in:
```perl6
foo
```
If we recurse through pod2markdown then our indenting does not get retained.
Since we already have a Pod::Block::Code, all we need to do is join, since
we have all the data already.
Not all markdown engines support fenced blocks. Allow users to set
this in case theirs does not.
@softmoth softmoth merged commit 109f89d into softmoth:master May 24, 2017
@softmoth
Copy link
Owner

Thank you! <3

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.

None yet

2 participants