# Indenting of code blocks is incorrect when close to text

**URL:** <https://meta.discourse.org/t/indenting-of-code-blocks-is-incorrect-when-close-to-text/27799>\
**Category:** Bug\
**Tags:** markdown-it-review\
**Created:** [Avril 21, 2015, 1:33 UTC](https://meta.discourse.org/t/indenting-of-code-blocks-is-incorrect-when-close-to-text/27799 "2015-04-21T13:33:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [Avril 21, 2015, 1:33 UTC](https://meta.discourse.org/t/indenting-of-code-blocks-is-incorrect-when-close-to-text/27799/1 "2015-04-21T13:33:16Z")

</div>

I believe there to be a bug or two in whatever version of highlight.js is being used in Discourse now.

See my test topic at Meta where the curly braces do not line up properly (under certain scenarios).  
[http://try.discourse.org/t/testing-code-tags/1227](http://try.discourse.org/t/testing-code-tags/1227)

What is the best approach for looking at getting this resolved?

---

_[View the full topic](https://meta.discourse.org/t/indenting-of-code-blocks-is-incorrect-when-close-to-text/27799)._
