Hello,
I do not always use code blocks in org-mode, but when I do, I have
forgotten the syntax :-). In order to prevent that situation I wrote a
little function which is similar to org-insert-link. I called that
function org-insert-code-block. This function reads the language per
minibuffer in
Hi Florian,
You function looks good (although two lines in the middle are not
indented correctly).
Have you tried typing s and then pressing TAB. This is how I insert
code blocks, as well as q for quote blocks, etc...
That said your function does more than the s approach because it also
limits
Hi Florian and Eric,
Eric Schulte eric.schu...@gmx.com writes:
Have you tried typing s and then pressing TAB. This is how I insert
code blocks, as well as q for quote blocks, etc...
That said your function does more than the s approach because it also
limits the languages to those which
Bastien b...@gnu.org wrote:
Eric Schulte eric.schu...@gmx.com writes:
Have you tried typing s and then pressing TAB. This is how
I insert
code blocks, as well as q for quote blocks, etc...
That said your function does more than the s approach because it also
limits the
Bastien b...@gnu.org writes:
Hi Florian and Eric,
Eric Schulte eric.schu...@gmx.com writes:
Have you tried typing s and then pressing TAB. This is how I insert
code blocks, as well as q for quote blocks, etc...
That said your function does more than the s approach because it also
limits