deploy: 2026-07-15 15:05 部署更新
This commit is contained in:
@@ -1280,7 +1280,14 @@ function renderMarkdown(md) {
|
||||
html += '<ul class="space-y-1 ml-4 list-disc">';
|
||||
listStack.push('ul');
|
||||
}
|
||||
html += `<li class="text-gray-700">${inlineMd(trimmed.slice(2))}</li>`;
|
||||
let liContent = inlineMd(trimmed.slice(2));
|
||||
// 销售话术突出显示
|
||||
if (/^\*\*销售话术\*\*/.test(trimmed.slice(2).trim())) {
|
||||
liContent = liContent.replace(/^<strong class="font-semibold text-gray-900">销售话术<\/strong>[::]?/, '');
|
||||
html += `<li class="text-gray-700"><span class="inline-block bg-green-100 text-green-800 text-xs font-medium px-2 py-0.5 rounded mb-1">销售话术</span><div class="bg-green-50 border border-green-200 rounded-lg p-3 mt-1 text-green-900 leading-relaxed">${liContent}</div></li>`;
|
||||
} else {
|
||||
html += `<li class="text-gray-700">${liContent}</li>`;
|
||||
}
|
||||
i++; continue;
|
||||
}
|
||||
// 普通段落(收集连续非空非格式行)
|
||||
|
||||
Reference in New Issue
Block a user