From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29803 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Guoyi Zhang Newsgroups: gmane.text.pandoc Subject: how can I conver one style markdown to another style markdown Date: Thu, 16 Dec 2021 08:31:24 -0800 (PST) Message-ID: <631a426b-f5d3-4677-a029-0ef30863fdf0n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1066_1019818833.1639672284258" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31731"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCKJZ3GJ7EDBBXOT5WGQMGQEAYDYMMI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 16 17:31:28 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mxtfD-000881-UC for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 16 Dec 2021 17:31:27 +0100 Original-Received: by mail-ot1-f60.google.com with SMTP id v13-20020a056830140d00b0055c8421bd62sf11319530otp.15 for ; Thu, 16 Dec 2021 08:31:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=PZMir5uUxehtKMuR6cJQlWH9BLc3FXyptrA7Dqrginc=; b=T2COz0C7CToL/TpwGakqL+dw7vAi/2uIv+eoDENKYattNmhd+l2EPy/x0e2aNTa/XR 2M/cv/2mBke/U+L+ZbpoeHYa55Jsk5Wxa+1GD+weq5CMCWrMF/LCaB6/URbgG9WhJTSR 3q8u2r3qerLxestNalFCtS0mCSOQnjuAqUgNomifiJpIToeKLqKxCelmiRvK+IoG5xsE 2xcnb1o32xnNc8GMarhGsLaLrDKdbqfPqQAPEP214LshsKh5fMB4jsLTqoTncmklCyGW /ya+fNfCsdbTCpna7boh9Pv9Bs6OZRwcQm+6ratnET0MRpBZzx7JoSpijM4brBzQG/ms gUeA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=PZMir5uUxehtKMuR6cJQlWH9BLc3FXyptrA7Dqrginc=; b=IPm5n93omz+f5dJZiLpaCEY7LzNnMjx7QMpriganRXgqTnFSyuJw++n1DxZvNy2z8f bHywjWNBidb3Y5bNPQdhEorw4Ux3wdddKIRgXKKoBH4noStcS4LRG7E2wgOzbhq/SEry Wvd3I5q3F/43HUnYsLHlKtKQ260XnY4l0fpv7cSN/U7ZOxAAIhnXgiKLVqXnBQq2/l6n MvWLjV/VHRorKmCLd4YJHGdNwtE2TCbcrD3Tp64suiz1GVoGLFi6GyeCTNntUd/ENTMZ eJWYACVkoZcUIbPc/aa0uTA+3gQgqJI2oUztw4QrmzhzMYsMUwcnzN3VkSRCnQ4tdKzq Eq1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PZMir5uUxehtKMuR6cJQlWH9BLc3FXyptrA7Dqrginc=; b=H/ROdhNUfXnqB5zPHLz/7VEOT90K9jIb5jK84McPOjnD5p8IVzUsj8WWM1yYdhXTph GWq6zbR9ybXsRFbvgqIpOuXRnFiMYSbCYwCqoxU8iqNzqJtgzTA1dhkEgbuTaAGgfvJY KjnhUYf2Nv3heZd0Sl+IS8bTpK0gqCCoQSZW2/bHNuOL9sy4pMCJocEqk5T5xdnFG1IK lpWfhqwQWTrGVxatUfxKvCsUQiLvuTN/sBPrKB6KCXi527Gzo6YG5ujhbB831QuCNzR3 Sc3lxiLoVoxWPX/SEpLlftJF1VIJzdSoljmEVeW0KH5371wg7P9IyZ9prD0kJrWQUh7y OfLw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5310YBvmEIAkhJLemQROqny1TqP4mUSyT/LOYGjyqN+SbhQeIqyi 2LQVKyxCV79HXLlEB41c9M8= X-Google-Smtp-Source: ABdhPJw1sVMVtCENaoCkR/qHNO/xXJBuE1Pgizg9b4wSnWmi06cQPD/B+Pz9lbYauvkXqpJtwPoPyw== X-Received: by 2002:a05:6808:4d9:: with SMTP id a25mr4677799oie.52.1639672286529; Thu, 16 Dec 2021 08:31:26 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:41d5:: with SMTP id o204ls1503325oia.9.gmail; Thu, 16 Dec 2021 08:31:25 -0800 (PST) X-Received: by 2002:aca:1b08:: with SMTP id b8mr4538621oib.148.1639672284856; Thu, 16 Dec 2021 08:31:24 -0800 (PST) X-Original-Sender: Starsareintherose-Re5JQEeQqe8AvxtiuMwx3w@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:29803 Archived-At: ------=_Part_1066_1019818833.1639672284258 Content-Type: multipart/alternative; boundary="----=_Part_1067_341598731.1639672284258" ------=_Part_1067_341598731.1639672284258 Content-Type: text/plain; charset="UTF-8" I try to use this, but not work, style not changed pandoc -f markdown -t markdown -o string.h.md.out string.h.md the following is a code block, how can I convert it to ``` style #include #include #include int main (int argc, char const *argc[]){ char s[] = "hello"; char *p = strchr (s, 'l'); char c =*p; *p ='\d'; char *t = (char*)malloc(strlen(p)+1); strcpy(t,p); printf("%s\n",t); free(t); return 0; } -- 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/631a426b-f5d3-4677-a029-0ef30863fdf0n%40googlegroups.com. ------=_Part_1067_341598731.1639672284258 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I try to use this, but not work, style not changed
pandoc -f mark= down -t markdown -o string.h.md.out string.h.md

the = following is a code block, how can I convert it to ``` style

=     #include <stdio.h>
    #include <string= .h>
    #include <stdlib.h>
    int main= (int argc, char const *argc[]){
        char s[] = =3D "hello";
        char *p =3D strchr (s, 'l');        char c =3D*p;
        *= p =3D'\d';
        char *t =3D (char*)malloc(strlen(= p)+1);
        strcpy(t,p);
      =   printf("%s\n",t);
        free(t);
  =      
        return 0;
  &n= bsp; }

--
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/631a426b-f5d3-4677-a029-0ef30863fdf0n%40googlegroups.= com.
------=_Part_1067_341598731.1639672284258-- ------=_Part_1066_1019818833.1639672284258--