post: GPU-skinned herds — agent_skinned renderer + engine private, builds public
This commit is contained in:
@@ -144,11 +144,11 @@ function inline(s) {
|
||||
s = s.replace(/\*(.+?)\*/g, "<em>$1</em>");
|
||||
// Inline code
|
||||
s = s.replace(/`([^`]+)`/g, "<code>$1</code>");
|
||||
// Links
|
||||
s = s.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '<a href="$2" style="color: var(--c-accent-l);">$1</a>');
|
||||
// Em dash
|
||||
// Em dash / en dash — before links so CSS var(--x) in style attr isn't mangled
|
||||
s = s.replace(/---/g, "—");
|
||||
s = s.replace(/--/g, "–");
|
||||
// Links
|
||||
s = s.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '<a href="$2" style="color: var(--c-accent-l);">$1</a>');
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user