Fork me on GitHub
#off-topic
<
2016-09-23
>
plexus14:09:45

anyone know if Jira has syntax for inline code, like backticks in markdown or tilde in org-mode?

markx14:09:26

I don’t think there is one for inline code.

kalouantonis14:09:36

You can just do {{ code stuff }}

kalouantonis14:09:51

Basically just prints text as monospace font

markx14:09:05

oh well, maybe I was wrong

kalouantonis14:09:02

I don’t think you can do blocks of code though

plexus15:09:00

blocks of code are actually documented

plexus15:09:18

{{code}}
...
{{code}}

plexus15:09:36

note that the open and close tag are identical, not sure who came up with this

plexus15:09:07

you can even get fancy

{{code:xml|title=Some XML}}
<foo><bar></bar></foo>
{{code}}

plexus15:09:29

but of course the only languages it knows about are java, xml, and I think JScript 🙂

dexter15:09:03

@plexus it knows way more than that (though I use single brackets {code}some code;{code} it knows:

ActionScript
AppleScript
Bash
C#
C++
CSS
ColdFusion
Delphi
Diff
Erlang
Groovy
HTML and XML
Java
Java FX
JavaScript
PHP
Perl
Plain Text
PowerShell
Python
Ruby
SQL
Sass
Scala
Visual Basic
Though it's version specific so it may just be you have a really old jira ;)

dexter15:09:36

Not sure how useful cold fusion is these days though 😛

dexter15:09:09

You activate the highlighting with slightly different trigger constants though:

actionscript3
applescript
bash
c#
cpp
css
coldfusion
delphi
diff
erl
groovy
xml
java
jfx
js
php
perl
text
powershell
py
ruby
sql
sass
scala
vb

plexus15:09:58

interesting, and yeah you're right it's single curlies. Just a shame none of those is a lisp

dexter16:09:27

it might appear; its got erlang which seems at a similar penetration level