Bugs/block elements break key coloring 63180694

There were two issues here:

- when staying within the raml mode, we were not properly calculating indentation of the line for lines that start arrays
- when switching to the markdown mode, we were not setting the proper indentation to break out of it for lines that start arrays.