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

Add a exemple macro for source highlight as described in #17. #18

Merged
merged 3 commits into from May 15, 2014
Merged

Add a exemple macro for source highlight as described in #17. #18

merged 3 commits into from May 15, 2014

Conversation

Jenselme
Copy link
Contributor

No description provided.

@Jenselme
Copy link
Contributor Author

I have just updated the pull request to take into account your comments.

@Jenselme
Copy link
Contributor Author

Any new comments?

@jedie
Copy link
Owner

jedie commented May 12, 2014

A unittest would be good.
But it's difficult to test both case: pygments installed and not installed. Maybe monkey-patch in unitest and set "PYGMENTS=False" ?

pygments must be added to https://github.com/jedie/python-creole/blob/master/.travis.yml for test.

Maybe i will also look at this tomorrow.

@Jenselme
Copy link
Contributor Author

Is my unittest enough?

jedie added a commit that referenced this pull request May 15, 2014
Add a exemple macro for source highlight as described in #17.
@jedie jedie merged commit 059ece0 into jedie:master May 15, 2014
@jedie
Copy link
Owner

jedie commented May 15, 2014

Looks good! Thanks.

@Jenselme Jenselme deleted the code_macro branch May 15, 2014 06:29
@jedie
Copy link
Owner

jedie commented May 15, 2014

With 6cce086 i does some changes around <<code>>

EDIT: I missed one line: 364dfb4 :(

@Jenselme
Copy link
Contributor Author

Thanks for merging and improving my code and the unittests

@jedie
Copy link
Owner

jedie commented May 15, 2014

commit one missing thing: escaping if fallback used: ff3962b

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