I assume by “code”, you mean MarkDown?
I had fun experimenting with the apps on my arsenal, and searching the web. Currently there is no way to satisfy your request to “see the results in real time on the side.” AFAIK.
but the closest I can get:
With Textastic (USD9.99) + default browser by split view. It has some quirks in that no auto-refresh for each saved text. So you’ll need to refresh the browser and it will trigger new tab of the latest state of the text. Not so robust Markdown processor
iA Writer (I bought it for USD9.99, but IIRC the price increased) can toggle between editor mode and preview mode, but currently there is no way to achieve side by side real time.
I mean html sorry, not markdown necessarily. I never used marked actually, thought it was for html. Textastic definitely does that but it costs money. I just need for one time
can confirm that Working Copy allow HTML and MD preview. I has the pro version and cannot know exactly whether it’s pro only or not. Also cannot check dual pane thing-y because my iPad is occupied.
Great app though, frequently updated and has free version
Actually you might well be able to. I’m not suggesting Drafts is ideally suited to HTML editing but where I’ve needed to sprinkle some HTML around my Markdown it’s worked.
(Working Copy I also like and I would concur with it being a good bet for this.)