1.  Create a copy of the default HTML template with `pandoc -D html >mytemplate.html`.

2. Remove the three lines 

``````html
<style>
    $styles.html()
</style>
``````

(Currently they start at line 20)

3.  Use the modified template by saying `--template mytemplate.html` on the command line.

see https://pandoc.org/MANUAL.html#templates

Den sön 26 juni 2022 12:39System Coding <revanthnagmunagala-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
Is there a way to remove default css generated by pandoc and not remove my css?

--
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-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9624673b-d6fd-481b-939c-76c587e422ban%40googlegroups.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/CADAJKhByM7mptzK3VOtOfHwXap19%2BvQ9sRXkLsw1jNktqWJvhA%40mail.gmail.com.