# Code fences don't seem to deal with C comments

**URL:** <https://meta.discourse.org/t/code-fences-dont-seem-to-deal-with-c-comments/33339>\
**Category:** Product Support\
**Created:** [16 سبتمبر 2015، 5:47ص UTC](https://meta.discourse.org/t/code-fences-dont-seem-to-deal-with-c-comments/33339 "2015-09-16T05:47:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [16 سبتمبر 2015، 5:47ص UTC](https://meta.discourse.org/t/code-fences-dont-seem-to-deal-with-c-comments/33339/1 "2015-09-16T05:47:35Z")

</div>

Each of these is ````c` new line and comment then a close fence but all look different. Am I doing it wrong, or is this a bug?

```c
/* example.c -- here is an example of quoting
 * a single simple c comment
 */

```

```c
/*
To use this program, compile it -- if you can -- and then type something like:

chan -n 5000 -d 2 < input.txt

In this case, it will produce 5000 words of output, checking two-word groups. (The explanation above describes two-word generation. If you type "-d 3", the program will find three-word groups, and so on. Greater depths make more sense, but they require more input text and take more time to process.)

http://www.eblong.com/zarf/markov/
*/

```

```c
/* foo.c make comments: have fun
/* (c) never by no one
/* compile with cc or gcc or whatever
*/

```

---

_[View the full topic](https://meta.discourse.org/t/code-fences-dont-seem-to-deal-with-c-comments/33339)._
