From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30538 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: relayism Newsgroups: gmane.text.pandoc Subject: Use --number-sections with markdown output Date: Tue, 10 May 2022 01:30:15 -0700 (PDT) Message-ID: <98ffebc1-b38b-43f5-8234-e222258abb95n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_280_888376485.1652171415151" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4018"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDOK3S566YBRBGGF5CJQMGQEJPP4X2Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue May 10 10:30:20 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f60.google.com ([209.85.160.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1noLG7-0000fN-Re for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 10 May 2022 10:30:19 +0200 Original-Received: by mail-oa1-f60.google.com with SMTP id 586e51a60fabf-e653506dd0sf8238664fac.14 for ; Tue, 10 May 2022 01:30:19 -0700 (PDT) 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=kvomIjmznVAKvr2jD1nFIFWJ3KpL/O+u5fxMOTgEL00=; b=ejPkNSIwQ6ZTHuPuL3duhd8QOeU0TbFwgz/fyYSMz/GV0YoqM9Ob0Vb7pZsJNDXELe Xx2Qb6T5tlKYWvuixKgeOazBYNRmUqv1r/JCIe4lRVW6kfg/aPrTdfVj/l0ft9b/81P6 uXWgIc6MuMC1isz1T1AONgnoPK8GLry31k3F1+yNbmlroYySGOIM2uKId5jk6nRTPSvF Y1GJUjs0X3I0UG+mNPHscDvDPBBGwaCZeF3w9YWKkS5XoD9TdcM0Mj3M6u14Ldokj7DS H3LRvTjzvPxJQ0zd7j5KFX11ZpjIt8Iy4+e2+Iq/DWpsOPzrTa9bQNjJRN1ypoltInzF GThg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vlabs-at.20210112.gappssmtp.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=kvomIjmznVAKvr2jD1nFIFWJ3KpL/O+u5fxMOTgEL00=; b=VtO5iiklIypezGpGbhCASIDkxOINMo4rwxkU1VrTIQw8ETMwCYUChCr73EVA0bg5Zp qfdh7M96i/+EHMrVGIP3UjsW5U6riwFfByiud4mEvn6atE2b4yzMc+X8oUYHBCWSO2CE p715+sPmgcBbcxwo4MxxMDJsmlkHh/F7pTSpIlgeAoWQYnSUV3dbbZg/nvXPZIxg5WmJ hA8pbyNQuBjrBOYLck6I9O6JV8UcP9AwCtg9XSkdJahhSw7HOONx5JlLFcLMB3R9Qcyg aHLEpThhLc+yJzdX4G3TB8vGvOIddl3qUeYMhiH0D/1Gd+089Lhb96moFGruA7VAHTMp N4Cw== 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=kvomIjmznVAKvr2jD1nFIFWJ3KpL/O+u5fxMOTgEL00=; b=tqFtMtUaRUXGbMJmuLTRgODG74zK81fdx2iEpZppmOBV7KdQSo+e2SnrY40HmY9FDc xTAJLU+REQhsolWgFcC5dHfv6W66BH+nzijwDLVqMvTJlEwFmIQgqRWKeAJqlyVIE+7c FFUGwvwo4IsAwWEhAcG2S9VYD/IN9uxiqc0DQTXSqmjeeZQ1RB7CfRkw88KLq/pJ3M0l ivTFnvVDuCuwvm85IwhVYA0CVrzyT61JaFztsC7Fk8Ut5g4Plf1LPi+5roEPyw7MfBS8 N6sJgH8vjqQQZRFVoyKK4T4ytR/Tu1XbiIp5K56+Jjdwy72pn5BXd5VYTw8jMKELqhlz Di8Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531bROoUbgb/50t2ARe9Eu2zSV/U+smb75rKX469rn7ARiRlGYHT J1rQK1F1uXvZ0prTA+meKgQ= X-Google-Smtp-Source: ABdhPJyQYpS1Ue/lRH3kNU6jAYhR/pPo/OsjDIgJeOslu2iRvH+Kngs5gtbKeici7fw71aWR+5/Ngw== X-Received: by 2002:a9d:6303:0:b0:5e8:eef2:1963 with SMTP id q3-20020a9d6303000000b005e8eef21963mr7535823otk.169.1652171418691; Tue, 10 May 2022 01:30:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:9a03:b0:e2:adb7:ef12 with SMTP id fo3-20020a0568709a0300b000e2adb7ef12ls6604510oab.10.gmail; Tue, 10 May 2022 01:30:16 -0700 (PDT) X-Received: by 2002:a05:6870:819b:b0:ed:a59b:c560 with SMTP id k27-20020a056870819b00b000eda59bc560mr9478622oae.157.1652171415784; Tue, 10 May 2022 01:30:15 -0700 (PDT) X-Original-Sender: tamas.harkai-fWcQWCtGVWc@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:30538 Archived-At: ------=_Part_280_888376485.1652171415151 Content-Type: multipart/alternative; boundary="----=_Part_281_1723994676.1652171415151" ------=_Part_281_1723994676.1652171415151 Content-Type: text/plain; charset="UTF-8" Hey! I know --number-sections does not support markdown output, but how could I achieve this: I am converting a .docx to .md and the headings in word are configured to be numbered, when I convert to .md those numbers are lost. I'd like to have something like this # 1 title ## 1.1 subtitle ## 1.2 subtitle # 2 title ### 2.1.1 subsbutitle as output, where the numbers are not explicitly part of the docx raw text input, but could be appended in same way as --number-sections adds it to other formats Thanks! -- 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/98ffebc1-b38b-43f5-8234-e222258abb95n%40googlegroups.com. ------=_Part_281_1723994676.1652171415151 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey!
I know --number-sections does not sup= port markdown output, but how could I achieve this:
I am converting a .docx to .md and the headi= ngs in word are configured to be numbered, when I convert to .md those numb= ers are lost.
I'd lik= e to have something like this

# 1 title
= ## 1.1 subtitle
## 1.2 sub= title
# 2 title
=
### 2.1.1 subsbutitle

= as output, where the numbers are not explicitly part of t= he docx raw text input, but could be appended in same way as --number-sections adds it to other formats<= /span>

Thanks!

--
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/98ffebc1-b38b-43f5-8234-e222258abb95n%40googlegroups.= com.
------=_Part_281_1723994676.1652171415151-- ------=_Part_280_888376485.1652171415151--