hexojs / hexojs/hexo-renderer-markdown-it
codeblock mark not work
- Dominant language
- JavaScript
- Stars
- 369
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
hexo default markdown-render support code mark. such like it.
```cpp createFilterChain https://github.com/envoyproxy/envoy/blob/b26b45eaacb810be390d7cfc7e21b8f5de32abfd/source/common/http/filter_manager.cc#L1444-L1459 github mark:1-2
if (upgrade != nullptr) {
const Router::RouteEntry::UpgradeMap* upgrade_map = filter_manager_callbacks_.upgradeMap();
if (filter_chain_factory_.createUpgradeFilterChain(upgrade->value().getStringView(),
upgrade_map, *this)) {
filter_manager_callbacks_.upgradeFilterChainCreated();
return true;
} else {
upgrade_rejected = true;
// Fall through to the default filter chain. The function calling this
// will send a local reply indicating that the upgrade failed.
}
}
// create here !
filter_chain_factory_.createFilterChain(*this);
return !upgrade_rejected;
}
```
use codeblock it's works
```
{% codeblock lang:cpp createFilterChain https://github.com/envoyproxy/envoy/blob/b26b45eaacb810be390d7cfc7e21b8f5de32abfd/source/common/http/filter_manager.cc#L1444-L1459 github mark:1-2 %}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.