You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
The code fences do a lot of unexpected replacements, which indeed look interesting. But they really cause great trouble for students who want to memorize the code, e.g., the != is replaced by $\neq$, -> is replaced by $\rightarrow$, etc.
Is there a switch to turn off and change back to the most common code fence style (such as the GitHub's) ?
Thanks.
ListNode* insertionSortList(ListNode* head) {
if (head == nullptr) return head;
ListNode tmpHead;
ListNode *cur = head, *pre = &tmpHead;
while (cur != nullptr) {
while (pre->next != nullptr && pre->next->val < cur->val)
pre = pre->next;
ListNode* next = cur->next;
cur->next = pre->next;
pre->next = cur;
pre = &tmpHead;
cur = next;
}
return tmpHead.next;
}
The text was updated successfully, but these errors were encountered:
Mighten
changed the title
Code Fence Unexpected Replacement
Code Fence Unexpected Replacements
Jun 3, 2023
Hi!$\neq$ , $\rightarrow$ , etc.
The code fences do a lot of unexpected replacements, which indeed look interesting. But they really cause great trouble for students who want to memorize the code, e.g., the
!=
is replaced by->
is replaced byIs there a switch to turn off and change back to the most common code fence style (such as the GitHub's) ?
Thanks.
The text was updated successfully, but these errors were encountered: