how can let markup(red line) show on the right?
Closed this issue · 4 comments
Hi @ahuang, you can modify the css styles. The the css classes are:
.a - added
.c - changed
.d - deleted
lines: The lhs is left-hand-side, and rhs is right-hand-side. Note that Mergely interprets left-to-right, so lines can be deleted from lhs, added to rhs, or changed.
words: Word styles are similar, where ".d.lhs" is a deleted word, and ".a.rhs" is an added word.
So for example:
.mergely.ch.d.lhs {
background-color: #ffe9e9;
text-decoration: line-through;
color: red !important;
}
This is a style for a deleted word (from the lhs) that is red with the line-through (strike-through). The equivalent for the rhs is:
.mergely.ch.a.rhs {
background-color: #ddeeff;
}
You need to play around with these styles and swap them until you get the result that you want. In your distribution, you will find a mergely.css file. You can modify it, or override them with your own css file.
@wickedest thanks for you help very much!
i got your idea and i have solved my problem by simple css style override method!