From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/24965 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jeremy Theler Newsgroups: gmane.text.pandoc Subject: Re: Proper syntax or format to convert markdown to html when mathjax is in the md Date: Thu, 23 Apr 2020 10:24:34 -0300 Message-ID: References: <614001ec-12cb-b635-842c-e483aad42044@usa.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="91930"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.30.5-1.1 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7FLGCQYBBBFVOQ32QKGQEVSTWVOA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Apr 23 15:24:41 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f62.google.com ([209.85.210.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jRbqK-000Nm2-Oq for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Apr 2020 15:24:40 +0200 Original-Received: by mail-ot1-f62.google.com with SMTP id a11sf3819031otc.17 for ; Thu, 23 Apr 2020 06:24:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587648279; cv=pass; d=google.com; s=arc-20160816; b=jGn7rRn+hne6b7SyBfdH79N6D972X7b75zIM/iZTvXftwZrNPhh4o00RNdnBpxQ9Ce jh+EPgpUE5fpRwFs3h9WLLHK51E8k3HB2glOchDRhuo+tZLdfakzdsyjBBqPujbLTdsI 3hs+/4gflHk+0XJ34KiAwbDycNDKViK+ndTBslqqd1RrDwNeOJmlILB0/gOFIKAOlUdd 44fIffZzmzseF1QpCLSQE63eFUk99SlL4wZT6ioJ28FrkV+oDzRxy4ukB78Z5JZMW4MW jlLJAZdxcn6mUSqMtqv7M9dRIi79ft7xnJu7J6haCTlVTYVfspnnZKhIBlM3MoS/69UB F+Mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:user-agent :references:in-reply-to:date:to:from:subject:message-id:sender :dkim-signature; bh=WFz9jqHpGyKoOqeQX1nohlMiLhwwAGtAfU/ndJxPTuk=; b=qQOy66F6VExcvvxUIuDUc0HeS8Wa6i6CCCJGxDM2sURfrrwcw8aLQx6bV1h8gDwD1v BYksZxMtwxHKqECXimIzSyeDyPdrxRNg/aiB3uefXHrqiU9DIUoZOrY9S1VXqJgm7oCG VjGBasMMmLo4lpOM6aLsbyHZybHe2wvdDYKT9IKxU5fcT8AQ5fwygBxsN1JRBfXeXv5o jq7IWQUFR6b+i5uquBxoCub1gqKoc0xy+e8mizPKQMBFniBUsVfZdg3hT6TYg6Xb+ctb emfWJ+HH9gOywH9nk08qw3Op7MwlA6+3R80NC+sTfaR4rxd3RrgdNXkgaL0VbXW3uGw7 uTVA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=V7gDzAvM; spf=pass (google.com: domain of jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2607:f8b0:4864:20::f34 as permitted sender) smtp.mailfrom=jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:message-id:subject:from:to:date:in-reply-to:references :user-agent:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=WFz9jqHpGyKoOqeQX1nohlMiLhwwAGtAfU/ndJxPTuk=; b=qbJBUiuDmwQsVZIve3uyKVC6zFKTGlnqZ/Ye8tfqH24IrleJfOXkEyWslEmIM0tpfv g7aqahyFTuMBCMBdCSN4agpXOLaqtfF+PEwb0u772gJC4MjLs1cSRtOnESSykfu5VahZ YOjhAdwSIlXKbOQD4awe9HNJtNWI/YXqafot/fkSHavI9D06KFg5/2i9Air1RS4Cjz6R OzcovqVcPzyOE+mj5FQTRq5m6vHiqluoK3oTMcajBF9IFXqT7EuLW+8ssV/jzEj4dapi eywrOU8lXe//Qgtbs1z/KTOhxtI5y8evucWHlQOsiCKefyPXZIg73iU8sPnilmDnyVzM iGfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:message-id:subject:from:to:date :in-reply-to:references:user-agent:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=WFz9jqHpGyKoOqeQX1nohlMiLhwwAGtAfU/ndJxPTuk=; b=i0sYewFyq65HrmWG+1YjlR8TnC8WwICpI0Cy5wEh+5ud9KrPbL/x6Zlf78Q9DrpToL JlIuGjDJvwUUq61H8JO0Gh3oSdH+SCxKlIjNVLlL1TgfjbIH51TxkJmsPGghyE1netsA hSQD/+E1f18gPeZkb0fAGixFXFXf2xdhr9LEXqdD+CV88CAwkLrzAUsGvZLCJqib+SUV 119C3+PrXkjkfTUZPaBGThvHk25iQGqU1424slQsVjssE2U5joroYKF2007p6BdwI4yP YyyuQX/Da/dKdyrMHo6wH3xdS3p9Fx8Rasq2RwveOATluKHNi7v4TOy2dfOhD9jHMPKy rXKg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AGi0Pub5XqfvC5EONwufsIc1ydwjSfpA/jBEKO02+dLfPEKDo3nHauL5 GlJjC6fD6efdcWlj1yq0wJo= X-Google-Smtp-Source: APiQypK952C/CNZsjd+K7dzJecr19nVcAjHtuQXdvhY3hkdXoqJqyivEgQ/m7Ab15SDQA04XBauuGQ== X-Received: by 2002:a05:6830:14d6:: with SMTP id t22mr3452338otq.323.1587648279767; Thu, 23 Apr 2020 06:24:39 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:1eb:: with SMTP id e98ls1495042ote.3.gmail; Thu, 23 Apr 2020 06:24:37 -0700 (PDT) X-Received: by 2002:a9d:5505:: with SMTP id l5mr3497168oth.29.1587648277616; Thu, 23 Apr 2020 06:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587648277; cv=none; d=google.com; s=arc-20160816; b=1B+lPe7IXcaDNfaIGuEAibxhhkalCdJme/qe1M5cEHlC9sDwM8g/Jy8Azn2qtvGEmv ITRl4/SvOOFPKjAQ2KRECOAS+i2z0M9X2PcK12OJzSdfQbcdiW/cr5cdSEpo2s4X+00B E/4BvIYUjSuLoOCGhcyH5n3Kp8xtlDOSHnNd+LzEtxgK60Mp2lCxZqDVsiXRPxack1ZS TeoaWcpuOfWNOxU9/qpjr6fmjVCXB3xgXzBbz9fF7wSr4qqKd0spZ6unddpLTCOSyNgN sC8Ogw/ZG9k4dldlZ7e9VBBfSZQwIlEgVc83jn9iftjNj/pY1hWPnlKKIN+hKBA6hiAu a8+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:dkim-signature; bh=79XsvM4QD8dXtj8B30CiA51Oqcirvk29Ha4Blz8iEbY=; b=DWsCseZZljsDQH3GeqFTVL5n+boMU8aoeiCukJeyXzmZahlLr/xTaq9yGVUFKZS09+ h1ejY8MtL8GrMD32F/mpKskO9zWSlnjs1ksEFdzkhH8vnckNFpEL2AlT/iC1GA28LB/g bcBOJYyIg6GJuQgFDL1EZT4sjwUyO/k6+d1vg4fugbg8tElLkZRwuxXea8STr2ViA1VD yY+kwljwrM7M3Z6ijMPcoeKuM2fP8jtEEhG7t29Tv/8xmmp7sgaJYOAxGSd2ohNxGWam B1bcSJkcbVFP1S/jcADKyCZFtbBGmkOeI4eKb16HujQCwLxJ1GdpTH06wOAIWGpW9CH6 nzsg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=V7gDzAvM; spf=pass (google.com: domain of jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2607:f8b0:4864:20::f34 as permitted sender) smtp.mailfrom=jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org Original-Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com. [2607:f8b0:4864:20::f34]) by gmr-mx.google.com with ESMTPS id z4si191941otk.3.2020.04.23.06.24.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Apr 2020 06:24:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2607:f8b0:4864:20::f34 as permitted sender) client-ip=2607:f8b0:4864:20::f34; Original-Received: by mail-qv1-xf34.google.com with SMTP id t8so2837570qvw.5 for ; Thu, 23 Apr 2020 06:24:37 -0700 (PDT) X-Received: by 2002:a0c:b601:: with SMTP id f1mr3840217qve.99.1587648276746; Thu, 23 Apr 2020 06:24:36 -0700 (PDT) Original-Received: from [192.168.0.106] ([190.195.130.232]) by smtp.gmail.com with ESMTPSA id c69sm1500598qkg.104.2020.04.23.06.24.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Apr 2020 06:24:36 -0700 (PDT) In-Reply-To: <614001ec-12cb-b635-842c-e483aad42044-Jdbf3xiKgS8@public.gmane.org> X-Original-Sender: jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=V7gDzAvM; spf=pass (google.com: domain of jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2607:f8b0:4864:20::f34 as permitted sender) smtp.mailfrom=jeremy-24em0bpozeFWk0Htik3J/w@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:24965 Archived-At: What about I find this an easy way to post information for students. $$ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} $$ -- jeremy theler www.seamplex.com On Thu, 2020-04-23 at 09:19 -0400, Daniel Staal wrote: > On 4/23/20 7:27 AM, Robert Bower wrote: > > Yes, > > > > I am having trouble converting markdown to html when I have mathjax > > in the markdown document. > > > > Here is the source of the markdown > > > > I find this an easy way to post information for students. > > > > > >

> > \( {x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}} \) > >

> > > > Script elements don't get considered as Markdown, and I think that's > dropping you out here. What you need is to make it explicit that > the > block is HTML, using a raw_attribute block: > > --- > I find this an easy way to post information for students. > > ```{=html} > >

> \( {x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}} \) >

> ``` > --- > > Daniel T. Staal > > -- > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- > >