# Login assistance message markdown problem

**URL:** <https://discuss.elastic.co/t/login-assistance-message-markdown-problem/251262>\
**Category:** Kibana\
**Created:** [October 7, 2020, 12:02pm UTC](https://discuss.elastic.co/t/login-assistance-message-markdown-problem/251262 "2020-10-07T12:02:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![borna\_talebi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/borna_talebi/32/76317_2.png) [@borna\_talebi](https://discuss.elastic.co/u/borna_talebi)\
**Post date:** [October 7, 2020, 12:02pm UTC](https://discuss.elastic.co/t/login-assistance-message-markdown-problem/251262/1 "2020-10-07T12:02:37Z")

</div>

Hi,  
I have two question about `xpack.security.loginAssistanceMessage`:  
1- How can I add a new line? I tried `<br/>` , `\` , `\n\n` and `\n*` but no luck.  
2- How can I customize the image size? I'm using `![name](URL)` format. Can I use HTML in markdown?

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [October 13, 2020, 2:50pm UTC](https://discuss.elastic.co/t/login-assistance-message-markdown-problem/251262/2 "2020-10-13T14:50:38Z")

</div>

That component [is rendered](https://github.com/elastic/kibana/blob/master/x-pack/plugins/security/public/authentication/login/components/login_form/login_form.tsx#L113-L121) using [ReactMarkdown](https://github.com/remarkjs/react-markdown#options) component. From [this issue](https://github.com/remarkjs/react-markdown/issues/273#issuecomment-466227614) I figured out you can add a break line:

```nohighlight
xpack.security.loginAssistanceMessage: >
   this is a test&nbsp;
   
   with a break

```

Mind that after the `@nsbp;` there are **two mandatory blank spaces**.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/a/7a1382aa2a4b3c1c73bf5ffbf0d6dafa3e7d4095.png)

* * *

As for the second question, as far as I know, vanilla markdown does **not** support specifying the size of your images.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 10, 2020, 2:50pm UTC](https://discuss.elastic.co/t/login-assistance-message-markdown-problem/251262/3 "2020-11-10T14:50:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
