From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/12336 Path: news.gmane.org!not-for-mail From: kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org Newsgroups: gmane.text.pandoc Subject: Can Pandoc output `markdown+fenced_code_blocks`? Date: Fri, 27 Mar 2015 05:01:04 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_258_1793530816.1427457664595" X-Trace: ger.gmane.org 1427457695 644 80.91.229.3 (27 Mar 2015 12:01:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2015 12:01:35 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDO5LOXQ2AARBAMN2WUAKGQEMZYZIFA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Mar 27 13:01:34 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ie0-f188.google.com ([209.85.223.188]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YbSwp-0004eE-DU for gtp-pandoc-discuss@m.gmane.org; Fri, 27 Mar 2015 13:01:11 +0100 Original-Received: by ierx19 with SMTP id x19sf4127402ier.1 for ; Fri, 27 Mar 2015 05:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:subject:mime-version:content-type :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=Akp5UaDLm753qMT4MfNmXXAuc0hxibG79odSz609UwU=; b=nuBuPxd+AGTSCSrc8zFEIS1K8wnMwKHT5mFppiCB9cySnUcl3aP6MpFn7x0i3ahwvB QfgakFunus4S/C9zzjwOJ1WUt1oT3DC21S94Z4r9CsciLJ4LDpkmhq4H3vKf4/ahDgUi 2uLPfKI15j9WeFlfZk7wK3jzLPrYlK3FOQugSduRODyPWq4o2tCrca0GgRdTZyDZkAhX Xw3myT4lzJEjW8Q2yDTBk34zg8T5CVhWPMofbSgIYZ3qqTJNTbhiPrYWS+mZdbLDc/An w63Neo3btaHaAZOKOHoqLJV/u6kY0ABdFxWHNOHdU8kfyWZMwr6x56Q5PP1K+9eBu4I2 2Xnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:message-id:subject:mime-version:content-type :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=Akp5UaDLm753qMT4MfNmXXAuc0hxibG79odSz609UwU=; b=KedAt3BsNre7gEalFQ7K2uRtZXED64JlKqv8HZTHwXEYRaDIZ6yzzHk8HkwMY/fiYF /saKfgpwNU6cZMlla902XcF7fDjWySl2mbI5V11CD0OGlQ13Nmy4ScF5hK3cAbUukXpJ /j6kt1Q5oIRHoaCFchPX8oNtVuf8N53v8RniXwC8d+S3nahipJizYNFJfcnnHlmW0ivN ltFVgJackg1CAGhy8PlCvweC3OrNYb7gQzSRRUZH5A++EFj8G8G53yrIBoh+ZeGYtbrd vL+56UAKUqL6wTDmFeLr1Vv6onzYNzye2812VRC907+jX+rxe28tE724cC4Vu0W6yL1w Dksg== X-Received: by 10.140.83.165 with SMTP id j34mr312716qgd.8.1427457665362; Fri, 27 Mar 2015 05:01:05 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.140.21.165 with SMTP id 34ls1244022qgl.32.gmail; Fri, 27 Mar 2015 05:01:04 -0700 (PDT) X-Received: by 10.140.21.145 with SMTP id 17mr311579qgl.1.1427457664951; Fri, 27 Mar 2015 05:01:04 -0700 (PDT) X-Original-Sender: kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg@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.org gmane.text.pandoc:12336 Archived-At: ------=_Part_258_1793530816.1427457664595 Content-Type: multipart/alternative; boundary="----=_Part_259_1791955220.1427457664595" ------=_Part_259_1791955220.1427457664595 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I would like to convert an existing DocBook documentation of an OpenSource= =20 project to Markdown. (There are about ~770 XML/DocBook files with ~190.000= =20 LoC and ~7 MBytes of combined file size. Outputting with a default pandoc -t markdown works well enough to continue= =20 with the project. However, I would like to automatically get *fenced* code blocks in the=20 output. Is that even possible? Or does pandoc support the=20 +fenced_code_blocks extension only with *input* Markdown, not with *output*= =20 Markdown? The command I tested with was pandoc -t markdown+fenced_code_blocks -f docbook -o rpcclient.1.md rpcclie= nt.1.xml Unfortunately, the output does contain only standard (indented by 4 spaces)= =20 code blocks. (The version of my pandoc is 1.13.2.) =E2=80=8B --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/b8601e3e-cd58-4ae5-ad52-63bf9b501ffd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_259_1791955220.1427457664595 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I would = like to convert an existing DocBook documentation of an OpenSource project = to Markdown. (There are about ~770 XML/DocBook files with ~190.000 LoC and = ~7 MBytes of combined file size.

Outputting with a default pandoc -t markdown works well eno= ugh to continue with the project.

However, I would like to automat= ically get fenced code blocks in the output. Is that even possible= ? Or does pandoc support th= e +fenced_code_blocks exten= sion only with input Markdown, not with output Markdown?<= /p>

The command I tested with was

 pandoc -t markdown+fenced_code_blocks -f doc=
book -o rpcclient.1.md rpcclient.1.xml

Unfortunately, the output does c= ontain only standard (indented by 4 spaces) code blocks. (The version of my= pandoc is 1.13.2.)

=E2=80=8B

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/b8601e3e-cd58-4ae5-ad52-63bf9b501ffd%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_259_1791955220.1427457664595-- ------=_Part_258_1793530816.1427457664595--