From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31990 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "redsto...-9Onoh4P/yGk@public.gmane.org" Newsgroups: gmane.text.pandoc Subject: use mathjax render formula in a class without delimiters Date: Fri, 13 Jan 2023 00:48:43 -0800 (PST) Message-ID: <31ac620c-0950-4370-aa34-7031d3ae0092n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5876_2069975905.1673599723457" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32767"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDF37UMZ5EJBB2NDQ2PAMGQEIVOKFPI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jan 13 18:16:29 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f55.google.com ([209.85.160.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pGNfI-0008GF-U0 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 13 Jan 2023 18:16:28 +0100 Original-Received: by mail-oa1-f55.google.com with SMTP id 586e51a60fabf-15edb929ef7sf1559895fac.9 for ; Fri, 13 Jan 2023 09:16:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=4tEftNMXxLb3MAnnv6gFQRxPjFGFMIUdHTmt7QNGu7A=; b=hg4/ImxpRxR0G6gLINWRlIhM0XKrA0f3QB1iKe60FwtUXnQqUbArvEiZL/J9gJZVaz Ce8O++8EIxd1Szt7wJ6a6o5PHKOQ9bSeHtyLrlJdmjtSM9fBReLU60ATjXkd1GcNaFgH h0gf6izi3ojy7cp0GMSeyb9yI9YgVndEHw/ZjNEbTLrr5N89bcqvElfwdEPsOe6ig8g+ A44unVYcDBVPLPGReasnxri/vHRQVhOick37jijmrbjLemr1KrcpF11qyzLh+klyMi93 fCwtZiZs8QwBOpOmgULIHr99wN/tlRFjIKPjsPlhAlA+3qfT/hM6lgZur7lGcHJzOm2Y 3dtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=4tEftNMXxLb3MAnnv6gFQRxPjFGFMIUdHTmt7QNGu7A=; b=N28A7U8UPalCm7kNi1JNbzTMi/WF5LWpePSL2d8lAmwr7euRTe8pDotSD7e0VM6BbG dTn4M8bgU3cLBnaSyJirTe+3ZF7QnCN6fmZBGrbDe27WF4Mdr05OmE9dxO0Pf+7cihAd dd0IrBU5Gpk2px6HF5HrmCXDUAnabzLg66fVU2QsmfIlDE6ryLW+EGt399O2vqBU+Zgv QRVcnatQjSpUuW2EuwPgGm+XAfRi5fuvsnCNZfp0dbkwsnTvrfDKO+cpkxviU/eOOcyQ RJsjxjGzHzr85vJuNLdI8JyIiUne+//iS8cIOqri0eBHGmEiX3dsDnI+cLESehLMEPjH LxBA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AFqh2kr0KpV+Ct3MLfoum2+jQCR6skfYDzpGpk0um/7D6oV0aoAdYl6/ rCXpAQck+RaH0iKGwn+aALU= X-Google-Smtp-Source: AMrXdXu5VvNPvE71EYxJJpcNuMnR1FVqCgzqekHu8xkz3JsXMq5XgPN/Bd876Y3J5u1NFy7kxaA2Ig== X-Received: by 2002:a05:6808:638c:b0:35a:757a:ef9d with SMTP id ec12-20020a056808638c00b0035a757aef9dmr5713796oib.121.1673630187637; Fri, 13 Jan 2023 09:16:27 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:545:0:b0:35a:6687:ef26 with SMTP id 66-20020aca0545000000b0035a6687ef26ls1805688oif.4.-pod-prod-gmail; Fri, 13 Jan 2023 09:16:25 -0800 (PST) X-Received: by 2002:a05:6808:8f0:b0:364:4b93:5fa2 with SMTP id d16-20020a05680808f000b003644b935fa2mr1256711oic.94.1673630185182; Fri, 13 Jan 2023 09:16:25 -0800 (PST) Original-Received: by 2002:aca:5e54:0:b0:357:6b59:1e5d with SMTP id 5614622812f47-364aeaebc50msb6e; Fri, 13 Jan 2023 00:48:44 -0800 (PST) X-Received: by 2002:a4a:dbd8:0:b0:4a6:8760:da3e with SMTP id t24-20020a4adbd8000000b004a68760da3emr3598928oou.9.1673599724131; Fri, 13 Jan 2023 00:48:44 -0800 (PST) X-Original-Sender: redstone-cold-9Onoh4P/yGk@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31990 Archived-At: ------=_Part_5876_2069975905.1673599723457 Content-Type: multipart/alternative; boundary="----=_Part_5877_510408101.1673599723457" ------=_Part_5877_510408101.1673599723457 Content-Type: text/plain; charset="UTF-8" I use markdown_it to convert my Markdown to html, the converted formula lost its delimiters, which caused my mathjax cannot render the formula, my mathjax confirmation is : The HTML:

a rational number like \begin{matrix} L & \ = \{ x \mid x \in \mathbb{Q},x \leq 0\} \cup \left\{ x \mid x \in \mathbb{Q},x > 0,x^{2} < 2 \right\} \\ U & \ = \mathbb{Q} - L = \left\{ x \mid x \in \mathbb{Q},x > 0,x^{2} > 2 \right\} \\ \end{matrix} .
2. A fact between two Dedekind cuts(the density of Q in R): For any pair of real numbers \alpha and \beta, where \alpha > \beta, there can always be found a real, and even in particular a rational, number r which lies between them, i.e. \alpha > r > \beta (and, consequently, an infinite set of such rational numbers).

The demo:https://jsbin.com/qecewiz/edit?html,output -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/31ac620c-0950-4370-aa34-7031d3ae0092n%40googlegroups.com. ------=_Part_5877_510408101.1673599723457 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I use=C2=A0markdown_it=C2=A0t= o convert my Markdown to html, the converted formula lost its delimiters, w= hich caused my mathjax cannot render the formula, my mathjax confirmation i= s :

<script src=3D"https://polyfill.io/v3/polyfill.min.js?features= =3Des6"></script> <script id=3D"MathJax-script" async src=3D"https://cdn.jsdelivr.net/np= m/mathjax@3/es5/tex-mml-chtml.js"></script> <script type=3D"text/javascript"> var MathJax =3D { tex: { inlineMath: [ ["\\(","\\)"] ], displayMath: [ ["\\[","\\]"] ], processEscapes: true, processEnvironments: true }, options: { ignoreHtmlClass: ".*|", processHtmlClass: "math" } }; </script>

The HTML:

<p>a rational number like <span cl= ass=3D"math inline">\begin{matrix} L &amp; \ =3D \{ x \mid x \in \mathbb{Q},x \leq 0\} \cup \left\{ x \mi= d x \in \mathbb{Q},x &gt; 0,x^{2} &lt; 2 \right\} \\ U &amp; \ =3D \mathbb{Q} - L =3D \left\{ x \mid x \in \mathbb{Q},x &am= p;gt; 0,x^{2} &gt; 2 \right\} \\ \end{matrix}</span> .<br /> 2. A fact between two Dedekind cuts(the density of <span class=3D"math = inline">Q</span> in <span class=3D"math inline">R</span&g= t;): For any pair of real numbers <span class=3D"math inline">\alpha&= lt;/span> and <span class=3D"math inline">\beta</span>, wher= e <span class=3D"math inline">\alpha &gt; \beta</span>, the= re can always be found a real, and even in particular a rational, number &l= t;span class=3D"math inline">r</span> which lies between them, i.e= . <span class=3D"math inline">\alpha &gt; r &gt; \beta</sp= an> (and, consequently, an infinite set of such rational numbers).</p= >

The demo:https://jsbin.com/qecewiz/edit?html,outp= ut

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/31ac620c-0950-4370-aa34-7031d3ae0092n%40googlegroups.= com.
------=_Part_5877_510408101.1673599723457-- ------=_Part_5876_2069975905.1673599723457--