Hacker News new | past | comments | ask | show | jobs | submit login

which apps support full embedded HTML? I like markdown but I run into exceptions where I need some html all the time. It could be a short span for color or an iframe for an example and most libraries and apps seem to fail there.



That wouldn't be Markdown though?

A better question might be, what flavor of Markdown serves your purposes? Find this, and then look for an editor which supports it.

Adding anything non-standard would be creating a new flavor of Markdown. I want for all the features I use in an editor to be fully portable. If it's not standard, then it's not portable.

NOTE: In this case, by Standard, I mean widely used.

I get what you are saying though. You want the full versatility of HTML at some point. My method of dealing with this is to come up with a set of scripts which converts snippets and turns the doc into HTML. The Markdown file would be the source and the HTML would be the view layer. The scripts are a build process. Of course, this takes time which not everyone has. It's impossible to cover the use cases for everyone though. And I find so often that when I get a feature I think I can't live without, it still falls short because I didn't think through my problem well enough.

Otherwise, it might be best just to use HTML from the start. Or you could ditch Markdown and try Asciidoctor. The issue there is that you're limiting your editor options.

https://asciidoctor.org/


html has always been a part of markdown. It says right in the original spec

> Markdown is not a replacement for HTML, or even close to it. Its syntax is very small, corresponding only to a very small subset of HTML tags. The idea is not to create a syntax that makes it easier to insert HTML tags. In my opinion, HTML tags are already easy to insert. The idea for Markdown is to make it easy to read, write, and edit prose. HTML is a publishing format; Markdown is a writing format. Thus, Markdown’s formatting syntax only addresses issues that can be conveyed in plain text.

> For any markup that is not covered by Markdown’s syntax, you simply use HTML itself. There’s no need to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags.

and

> Span-level HTML tags — e.g. <span>, <cite>, or <del> — can be used anywhere in a Markdown paragraph, list item, or header.

https://daringfireball.net/projects/markdown/syntax#html

The entire point is just to make most of the document easy to read. Not to replace nor forbid html.


You're right, I guess I just haven't used Markdown like this. My usage has mostly been within plain text editors which have the limitations you're talking about. I don't personally find the need for including HTML in my Markdown documents, but I can understand this expectation since many have known Markdown from (for example) WYSIWYG editors which do handle a mixture of formatting types.


Downloaded. This one fails like most do. Sigh...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: