Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

241
Visualizações
Github Actions Scripts - create comment as raw text

As it is currently, when using

github.rest.issues.createComment({ issue_number, owner, repo, body: "..." })

the body portion is interpreted as Markdown in the comment, so e. g. multiple spaces will be rendered as one space and tokens like <hello> won't be displayed at all because they are interpreted as HTML tags. I would like to prevent both of these mechanisms by posting a comment as raw text instead of Markdown. Is this possible?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

According to the documentation, there is no way to disable markdown.

As a workaround you could wrap the body of your comment in triple backquotes, triple tilde or pre tags to display it as a fenced code block :

```text
```

~~~text
~~~

Adding the word "text" should disable the syntax highlighting.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda