Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get literal text in Confluence, without markup

Lorin LaFoe November 22, 2021

* is used for markup for bullets. 

But what if I want to document CRON?

* 0/15 7-19 * * *

Is this even possible  or is this a gap?

3 answers

1 accepted

0 votes
Answer accepted
Piotr Zadrożny _Eyzee_
Community Champion
November 22, 2021

Hi @Lorin LaFoe 

You can write for example:

a* 0/15 7-19 * * * [ENTER]

and then up arrow and remove a.

FMaY067Bm4.gif

Best regards,

Piotr

Lorin LaFoe November 22, 2021

That worked, thanks

Seems a lot like taking advantage of a bug I'm hoping they won't "fix"

1 vote
Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 22, 2021

Your two options in order of my preference is:

  1. as @Matthias Gaiser [K15t]  suggested, use the code macro. Better solution for documentations
  2. use the escape character "\". Works faster than typing an unneeded character and then deleting it.
Lorin LaFoe November 23, 2021

escape character  \*  does not work, displays \*

What I would expect to work and what I tried first.

Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 23, 2021

Refer to this KB

https://confluence.atlassian.com/confkb/unable-to-use-some-characters-like-backslash-223904158.html 

Says it should work. But maybe not on Cloud and the "new" editor?

0 votes
Matthias Gaiser [K15t]
Community Champion
November 22, 2021

Hi @Lorin LaFoe

how about inserting a code snippet into the page and use this for documenting your cron expression? You can type /code in order to create the code snippet - and rest assured that Confluence won't perform some auto-convert logic on the content.

Cheers,
Matthias.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events