如何创建 C++ 标签或 Notepad++ 标签

你好!
我尝试创建一个 C++ 标签但失败了。
我创建了一个看起来像 C++ 的标签,但实际上是“c++”,但用户在访问“c++”链接时显示错误:“哎呀!该页面不存在或是私有的。”

如何在标签中输入加号字符?

谢谢。

Check out this topic:

https://meta.discourse.org/t/using-a-tag-named-c-its-not-possible/92005?u=tophee

1 个赞

It is unbelievable to have a website that uses this tag “c++”

Cards in the menu
c%20%20%20menu

Tag on url
c%20%20%20url

how to be like that?

+ is tricky, it often needs to be encoded, at the moment our tag system does not support tags with + in them. We should either fix this or at least validate you do not create tags with +

Going to mark this as a bug cause it leads to confusion and we need to pick a side here vs allowing you to create a broken tag.

5 个赞

I know the tag system does not support + tags in it.

How to get the “+” card in card management

Please get any suggestions.

Thank you

Notepad++ should be doable with this little trick

.tag-notepad::after {
    content: "++";
}

I didn’t try it, but it should work everywhere on your forum

But you should avoid doing the same for c for now, given @tophee’s post

1 个赞

@Steven What do you think of this site as having tag “+” daynhauhoc.com/tags/c++

I honestly don’t know. You can try to contact them, there’s the email address in the about page. I can’t really help on this issue

1 个赞

Thank you.

I contacted them but did not receive the answer.

I hope to find the answer from the community Discourse

关于这个话题有什么更新吗?我也想创建一个 c++ 标签。