Ionic 4 chip in input like Discord tags

Hi everyone,
How do I put ion-chip in a ion-input?
I wanted to make a chat bar like Discord with @everyone or #here.
Here is my code:

<ion-input type="text" placeholder="Enter a message">
  <ion-chip color="medium" mode="ios">
  hello everyone

But when I try to put html in the input, I can’t write in anymore…
In addition, I wanted to include the code syntax highlighting: I tried with ngx-highlightjs and ion-prism but it failed…
Like this:
Does someone have an idea how to do?