public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: rama prakasha
	<ramaprakashak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: docx to markdown conversion; retain only bold and italics.
Date: Mon, 16 Sep 2019 10:27:14 -0700	[thread overview]
Message-ID: <yh480ktv9ci231.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <4e4c8527-4998-4f9e-9e36-92d26d8849d1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


Add -bracketed_spans-fenced_divs

Or use

-t commonmark or -t markdown_strict


rama prakasha <ramaprakashak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I recently converted lot of PDF in Google doc, It by default creates lot of 
> markup to the document. I want to only retain bold and italics and remove 
> all other formatting while converting to markdown. I tried this
> -t markdown-header_attributes-link_attributes-native_divs-native_spans-
> styles
> but resulting markdown still conatins markup like this ***[*Tomorrow  12
> *]{dir="ltr"}*** I needed only **Tomorrow  12**. How can we achieve this. 
> Please help.
>
> -- 
> 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/4e4c8527-4998-4f9e-9e36-92d26d8849d1%40googlegroups.com.


  parent reply	other threads:[~2019-09-16 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-16 17:17 rama prakasha
     [not found] ` <4e4c8527-4998-4f9e-9e36-92d26d8849d1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-09-16 17:27   ` John MacFarlane [this message]
2019-09-17 19:15   ` rama prakasha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yh480ktv9ci231.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=ramaprakashak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).