This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-06
Channels
- # babashka (19)
- # beginners (68)
- # calva (9)
- # cider (27)
- # clj-kondo (64)
- # clj-on-windows (2)
- # cljdoc (8)
- # clojure (11)
- # clojure-europe (58)
- # clojure-italy (1)
- # clojure-nl (23)
- # clojure-uk (5)
- # clojurescript (9)
- # cryogen (18)
- # cursive (14)
- # data-science (17)
- # emacs (6)
- # gorilla (6)
- # graphql (1)
- # gratitude (2)
- # holy-lambda (10)
- # introduce-yourself (1)
- # jackdaw (3)
- # jobs (1)
- # leiningen (2)
- # malli (3)
- # missionary (33)
- # off-topic (21)
- # pedestal (7)
- # polylith (8)
- # quil (3)
- # random (1)
- # releases (1)
- # remote-jobs (7)
- # shadow-cljs (18)
- # specter (1)
- # sql (8)
hey, do you have an example of code which will let me add SVG “images” in markdown? I don’t want to reinventing the wheel. I want to add also special class
for this elements to change style
. In general I have to set at least height
.
That's why I use AsciiDoc. Much easier to add classes and stuff
Oh this is unexpected…
<img src="/img/logo/docker.svg" alt="Docker" style="height: 40px">
This is rendered as HTML in markdown file. Not as a text.
Why unexpected? Markdown sorts html in Markdown (but not Markdown inside html block elements)
Not sure what you mean by "my own Markdown tags". While asciidoctor supports custom inline/block macros, md has no such thing. You might read the docs for the Markdown parser you use. An extreme option is to add custom post - processing with postprocess-article-html-fn, see http://cryogenweb.org/docs/customizing-cryogen.html and https://github.com/cryogen-project/cryogen-core/blob/master/src/cryogen_core/compiler.clj#L574
Not possible in Markdown.
Exactly
You can do fancy/crazy stuff with the Cryogen postprocess fn I mentioned but Markdown itself has no extension mechanism, contrary to asciidoctor.
No. The Markdown "standard" has no extensibility fns thus no Markdown library either, IMO. But do your research, I might be wrong.