コード例 #1
0
 public static string GenCss(TrackChangesConfig config) =>
 string.Concat(
     $".{config.DeletedRunCssClass} > span {{color: rgb(181, 8, 46); text-decoration: line-through;}}",
     $".{config.InsertedRunCssClass} > span {{color: rgb(181, 8, 46); text-decoration: underline;}}",
     $".{config.MoveFromRunCssClass} > span {{color: rgb(44, 98, 52); text-decoration: line-through; text-decoration-style: double;}}",
     $".{config.MoveToRunCssClass} > span {{color: rgb(44, 98, 52); text-decoration: underline; text-decoration-style: double;}}"
     );
コード例 #2
0
 public TrackChangesPlugin(TrackChangesConfig config)
 {
     _config = config;
 }