I am writing documentation using Github Markdown for Objective-C, and everytime I write @weakify(self)
or strongify(self)
and publish my documentation, these two writings appear in highlighted red and the text is white.
In Github preview everything seems fine, yet when I publish it and go to the documentation website, I see that red highlight.
[![enter image description here][1]][1]
This is how I am writing my documentation (I found on the internet that objc
is how I should mark that the code is in Objective-C, I tried using objective-c
, but then the code is just plain grey):
<code>```objc
@weakify(self);
[self.bannerAdUnit fetchDemandWithAdObject:gamRequest completion:^(enum ResultCode resultCode) {
@strongify(self);
}];
</code>
<code>```objc
@weakify(self);
[self.bannerAdUnit fetchDemandWithAdObject:gamRequest completion:^(enum ResultCode resultCode) {
@strongify(self);
}];
</code>
```objc
@weakify(self);
[self.bannerAdUnit fetchDemandWithAdObject:gamRequest completion:^(enum ResultCode resultCode) {
@strongify(self);
}];
<code>
[1]: https://i.sstatic.net/82vBXNHT.png
</code>
<code>
[1]: https://i.sstatic.net/82vBXNHT.png
</code>
[1]: https://i.sstatic.net/82vBXNHT.png