当前位置: 动力学知识库 > 问答 > 编程问答 >

how to use html Code in gitHub Issue as part of message

问题描述:

I am Posting An Issue in gitHub

I Want the users See my Html Code In message

But Codes Are rendred

I have tried and and

but it doesnt work ,

how can i set html as part of meesage in github ?

thanks

网友答案:

You could use a "Fenced code blocks"

Just wrap your code in ` (as shown below) and you won't need to indent it by four spaces.

```html
<my html code />
```

The HTML code won't be rendered, and the proper syntax highlighting will apply.

分享给朋友:
您可能感兴趣的文章:
随机阅读: