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

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

@winstliu
Copy link
Contributor

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