To adjust indentation of lists, I would pipe pandoc's output to sed, e.g.

```
pandoc input.html -t markdown_strict-raw_html | sed 's/   / /'
```
On Wednesday, April 26, 2023 at 6:59:31 PM UTC-5 Oliver wrote:
Thanks John

`-t markdown_strict-raw_html` does the trick for me!

One thing though with markdown_strict is odd: The text of lists is indented to the next 4-space column:

`- list text`

Can I somehow tell the markdown_strict writer to use only _one_ space here:

`- list text`

Anyway, thousand time thanks for Pandoc!


On 26 Apr 2023, at 15:39, John MacFarlane wrote:

> Turning off -link_attributes should do it, but looks like you tried that.
>
> I'd have to look at an example of the input that produces this with these settings.
>
> If you don't need fancy features, you could also try `-t commonmark` or `-t markdown_strict`.
>
>> On Apr 25, 2023, at 5:32 PM, Oliver <ne...-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org> wrote:
>>
>> Hi all
>>
>> I try to use Pandoc to convert web pages to markdown without all the class clutter like `{.underline}`, etc.
>>
>> So I try
>>
>> ```
>> pandoc -f html -t markdown-raw_html-native_divs-native_spans-fenced_divs-header_attributes-auto_identifiers-inline_code_attributes-link_attributes-raw_attribute-simple_tables-multiline_tables-grid_tables page.html
>> ```
>>
>> and it works reasonably well, but I still get a bit of class clutter like
>>
>> ```
>> {.v-visible-sr .js-screen-reader-info}
>> ```
>>
>> or attributes like
>>
>> ```
>> {title="sometext“}
>> ```
>>
>> , both after links
>>
>> How can I supress these?
>>
>> I want really only the text and (image) links.
>>
>> Any help much appreciated!
>>
>>
>> --
>> 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8AD0B607-B556-48CC-83AA-7D0BACD3B8BE%40halloleo.hailmail.net.
>
> --
> 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-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1E55C9DB-9A8C-4064-9927-2EC8B70076A0%40gmail.com.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/66967a25-b28c-4d2f-aac2-6811b397d145n%40googlegroups.com.