Markdown basics.

Is there anyway to run html code via markdown syntax? My goal is to enable Twitch’s “Dark Mode” with a simple click via one of thier panels, or maybe from an image. I looked up the source of the actual check box and i found this:

//<div class=“tw-checkbox tw-font-size-6” data-a-target=“dark-mode-toggle” data-test-selector=“user-menu dark-mode-toggle" data-a-value=“1”><input class="tw-checkbox input” id=“dark-mode-toggle” type=“checkbox” checked="" value="" data-a-target=“tw-checkbox”><label class=“tw-block tw-checkbox__label” for=“dark-mode-toggle”>Dark Mode</label></div>

Being the value that actually toggles “Dark Mode”. Thanks for your time!