Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add failing test for #44 #174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Victorystick
Copy link

Test tokenization of this snippet:

```c
int deref(int *ptr) { return i*; }
```

Rendered:

int deref(int *ptr) { return i*; }

In Atom, both the int and return keywords fail to be highlighted. Not to mention the italics.
md-example

I cannot figure out why any GFM rule (other than the terminating ```) should apply inside the code block.
language-gfm-failure

@50Wliu
Copy link
Contributor

50Wliu commented Oct 24, 2016

Yes, this is a bad bug that I've wanted to investigate for some time now. It might have to do with the fact that language-c didn't tokenize operators like * until just 14 days ago. I wonder if this will be fixed when that change reaches stable and language-gfm picks it up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants