You can add a code card using markdown, if you type ```
in a blank paragraph then a code card will be inserted.
There’s a bit of a bug here, the front-end rendering isn’t currently outputting supplied alt
text but that will be fixed in tomorrow’s release. In the current version of Koenig you can use markdown syntax to create an image card with alt
text, eg:
![my alt text]()
After Ghost 2.0 is released we have plans to add a settings panel for cards so that things like alt
and title
text are more easily accessible/editable.
Word deletion (Ctrl-Backspace) doesn’t work in Koenig, and instead deletes individual characters.
Hmm, this sounds like it’s a Linux-specific issue. Do you see the same behaviour in the mobiledoc-kit demo?
I don’t see any way to set the language attribute on code blocks.
Correct, that’s not implemented. Current workaround if you need syntax highlighting would be to use the markdown or html card to output the specific HTML that you need.
Typing feels sluggish
Interesting, what spec computer are you using for reference?
I don’t know if it’s the cause but there is no testing done outside of mainline browser releases so beta/canary/nightly browser versions are not supported and may have issues. It would be useful to know if you feel the same sluggishness using the latest mainline version of Firefox.
I was surprised when I created an HTML block containing only inline elements (<kbd>example</kbd>
), that the content was not wrapped inside a block-level <p>
or similar when published.
The HTML card is a full escape to HTML unlike the pseudo-escape to HTML that markdown gives you where you have to be very careful with blank lines and having to deal with unwanted <p>
tags messing with your intended markup. This is why there are separate HTML and Markdown cards rather than only having a Markdown card.
If you want wrapping <p>
tags around individual HTML lines maybe using the markdown card would make more sense? It sounds like you’re expecting markdown behaviour.