* docx to markdown conversion; retain only bold and italics.
@ 2019-09-16 17:17 rama prakasha
[not found] ` <4e4c8527-4998-4f9e-9e36-92d26d8849d1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: rama prakasha @ 2019-09-16 17:17 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 866 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 2164 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: docx to markdown conversion; retain only bold and italics.
[not found] ` <4e4c8527-4998-4f9e-9e36-92d26d8849d1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-09-16 17:27 ` John MacFarlane
2019-09-17 19:15 ` rama prakasha
1 sibling, 0 replies; 3+ messages in thread
From: John MacFarlane @ 2019-09-16 17:27 UTC (permalink / raw)
To: rama prakasha, pandoc-discuss
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: docx to markdown conversion; retain only bold and italics.
[not found] ` <4e4c8527-4998-4f9e-9e36-92d26d8849d1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-09-16 17:27 ` John MacFarlane
@ 2019-09-17 19:15 ` rama prakasha
1 sibling, 0 replies; 3+ messages in thread
From: rama prakasha @ 2019-09-17 19:15 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1203 bytes --]
I should have searched from other posts; anyhow
-t markdown-header_attributes-link_attributes-native_divs-native_spans-
styles-bracketed_spans-raw_html
this solved my problem. Thank you for your solution John MacFarlane, that
is cool
On Monday, September 16, 2019 at 10:47:51 PM UTC+5:30, rama prakasha wrote:
>
> 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/5a985960-990c-4a18-8c52-972c37bb542b%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3491 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-17 19:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 17:17 docx to markdown conversion; retain only bold and italics rama prakasha
[not found] ` <4e4c8527-4998-4f9e-9e36-92d26d8849d1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-09-16 17:27 ` John MacFarlane
2019-09-17 19:15 ` rama prakasha
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).