.lm-format {
    display: flex;
    flex-direction: column;
    height: calc(100% - 40px);
    padding: 20px;
}

.lm-format-source .jeditor-container {
    counter-reset:section;
}

.lm-format-source .jeditor {
    padding: 8px;
    color: #000;
    height: 100px;
    overflow-y: auto;
    position: relative;
}

.lm-format-source .jeditor > div {
    border-bottom:1px dashed #ccc;
    padding-top:4px;
    padding-bottom:4px;
    padding-left:50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='gray' width='18px' height='18px'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3C/svg%3E");
    background-position: center right;
    background-repeat: no-repeat;
}

.lm-format-source .jeditor > div::before {
    counter-increment: section;
    content: attr(data-value);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 45px;
    color: grey;
    padding: 5px;
    position:absolute;
    left: 5px;
    margin-top: -3px;
    font-size: 0.8em;
}

.lm-format-source .jeditor > div::after {
    content: "\00a0";
}