@benui-dev Hi, to my knowledge, you cannot use Markdown to render highlighted code block inside a table-cell. Fortunately, you can use HTML and Liquid to do so:
<table>
<tr>
<th>Code</th>
<th>Comment</th>
</tr>
<tr>
<td>{% highlight cpp %}int x = 3;{% endhighlight %}</td>
<td>Declare variable x with integer value 3</td>
</tr>
</table>
<table>
<tr>
<th>Code</th>
<th>Comment</th>
</tr>
<tr>
<td markdown="1">
```cpp
int x = 3;
```
</td>
<td>Declare variable x with integer value 3</td>
</tr>
</table>
Without setting any kramdown option in _config.yml, Jekyll renders that as:
hey, thanks for a detail explain, and good point out, you saving me man, big thanks here.
I’m look really stupid, and ashamed of the bad words in the picture I post here, can I take it down?