fbpbdmin
(deepblue)
March 1, 2024, 4:36pm
1
if type (TM)
, it is rendered as ™
how to insert the © ?
is there a list of these symbol shortcuts ? thanks
You can find what symbols are rendered here:
// Simple typographic replacements
//
// (tm) (TM) → ™
// +- → ±
// ... → … (also ?.... → ?.., !.... → !..)
// ???????? → ???, !!!!! → !!!, `,,` → `,`
// -- → –, --- → —
// --> <-- -> <- <-> <--> to → ← → ← ↔ ↔
// (pa) (PA) → ¶
//
// Disabled replacements:
//
// (c) (C) → ©
// (r) (R) → ®
// (p) (P) -> §
The copyright and section sign symbols have been explicitly disabled; see here:
discourse:master
← discourse:custom_replacements_rule
opened 06:48PM - 16 Mar 21 UTC
We override the default replacements rule to no longer replace "(c)", "(p)", "(t… m)", and "(p)". Additionally, we merged the custom arrows rule into the replacement function.
5 Likes
As an alternative: On your keyboard, Compose +o +c gives you ©.
If you have a Compose key. It’s a shame it didn’t make it to mainstream keyboards, really.
1 Like
Heliosurge
(Dan DeMontmorency)
March 1, 2024, 5:59pm
4
Jagster
(Jakke Lehtonen)
March 1, 2024, 6:19pm
5
More shame can be founded when there isn’t physical keyboard at all.
That’s why missing (c) did hurt. Well, we have this but is not same, not even close.
1 Like
Firepup650
(Firepup Sixfifty)
March 1, 2024, 6:45pm
6
Not sure about iOS, but there’s ©,®, and ™ symbols on the 3rd page in Gboard on Android.
Jagster
(Jakke Lehtonen)
March 1, 2024, 6:53pm
7
If I overdrive that earlier disabling (c) doing something like this:
<script type="text/discourse-plugin" version="0.8">
document.addEventListener('DOMContentLoaded', function() {
document.body.addEventListener('input', function(e) {
if (e.target.tagName === 'TEXTAREA' || e.target.tagName === 'INPUT') {
e.target.value = e.target.value.replace(/\(c\)/gi, '©');
}
});
});
</script>
Will I start harmageddon, or at least break my forum?
I want underline that I don’t know what I’m doing and why that was disabled back then.
Good for you
Apple isn’t known to make things easier, but willing to sell way overpriced keyboard. Mobiles designed to creation and work are actually designed for passive consumption. I can’t even get sign of micro (SI uses it, one of greek alphabets) from virtual keyboard of iPad without 3rd party app.
And yes, I know very well that beeing an iPad user I’m part of very very very small minority.
1 Like
Firepup650
(Firepup Sixfifty)
March 1, 2024, 7:35pm
8
Jakke Lehtonen:
If I overdrive that earlier disabling (c) doing something like this:
<script type="text/discourse-plugin" version="0.8">
document.addEventListener('DOMContentLoaded', function() {
document.body.addEventListener('input', function(e) {
if (e.target.tagName === 'TEXTAREA' || e.target.tagName === 'INPUT') {
e.target.value = e.target.value.replace(/\(c\)/gi, '©');
}
});
});
</script>
Will I start harmageddon, or at least break my forum?
Might I ask, if you want to add it back, why not use:
Replace
Replaces words in posts with other words. Cannot be used to replace words with links.
If no Replacement word is selected when adding a word to this action, the word will be removed from the post, but no word replacement will take it’s place - the word will disappear from the post, and the post will be allowed to be submitted (Not Recommended) .
Seems safer to me
As for
See:
Might it be possible to tweak the current configuration settings around Markdown typographer (also known as “smart punctuation”) to enable Unicode punctuation marks, like quotation marks and dashes, but disable (c), ™, and potentially other specialized glyphs of the kind?
I’m a lawyer. I advise on trademarks and copyrights all the time, including on Discourse forums. I have yet to advise anyone to revise a post to add a copyright or trademark symbol, and non-lawyers tend to massively overestima…
3 Likes
Jagster
(Jakke Lehtonen)
March 1, 2024, 7:42pm
9
You may ask But I don’t have good answers.
I didn’t remember that option first. Mainly because it is not very easygoing solution for finns, because structure of language is different and we don’t use prepositions, for example. Regex could be answer but with my skills it is synonym for hell.
Secondly, I struggled with it earlier when I tried to get micro sign, and for some reason it didn’t work too well.
And the third, the strongest point is GPT told that to me
2 Likes
Jagster
(Jakke Lehtonen)
March 1, 2024, 7:46pm
10
Firepup Sixfifty:
See:
Basically it was removed because how legal documents are using lists in the States. Nice.
Well, I don’t have that kind of issue, ever.
1 Like
Heliosurge
(Dan DeMontmorency)
March 2, 2024, 6:16am
11
Does Apple give you an option to save premade messages that are inserts le like a canned reply?
I used this long ago in Android to copy an emoji not available on my emoji set.
Lilly
March 2, 2024, 6:52am
12
this symbol is copyright ©️
iphone emoji works, in light mode at least
2 Likes
Jagster
(Jakke Lehtonen)
March 2, 2024, 8:54am
13
Sure. If one would use emoji-type sign it can be done that way. But it is ugly and, excuse me, looks very… amateurish, even childish (sure, it is used that way quite often, that is true too).
But for me that question is more academic now because
we don’t use US-style paragraps like (a) ever-never, we know numbers like 1.1. Or even 1.1.1
no one said my AI-generated script will break things
Moin
March 2, 2024, 1:57pm
14
Maybe the description of enable markdown typographer
should be changed then. (c) is still mentioned there.
5 Likes
Lilly
March 2, 2024, 5:03pm
21
btw, the html ©
© seems to work just fine.
I think for most symbols the html number or entity syntax works…
for example for © you can also do both ©
and ©
you can do things like:
π π
⚽
☯
♬ ♬
♫ ♫
❌
⛳
8 Likes
Jagster
(Jakke Lehtonen)
March 2, 2024, 6:01pm
22
That makes life much easier. But I’m totally sure (meaning I’m quite sure, or at least resonable sure, or almost, it didn’t work earlier at some point but was cleaned away and that’s why I did not use it).
Edit:
And now I remeber why I didn’t want to us it. I can use those µ as a micro sign, but my users can’t. And if I put (c) as watched word that should replace by ©
I don’t get © but… ©
and that comes how watched words works, I was told.
But sure. That is one solution.
1 Like
Lilly
March 3, 2024, 11:48am
23
Yes, nice catch. I just merged a PR to remove the (c) from the setting description.
discourse:main
← discourse:update-markdown-typographer-setting-text
opened 04:21PM - 02 Mar 24 UTC
Remove (c) from enable_markdown_typographer_settings text
Only just chang… ed a text string.
Meta topic: https://meta.discourse.org/t/insert-symbols/297493/14?u=lilly
5 Likes
fbpbdmin
(deepblue)
March 3, 2024, 9:48pm
24
Thanks @Lilly
How to make the copyright symbol elevated to the upper corner, as ™ , if possible…
Lilly
March 3, 2024, 9:50pm
25
like this - copyright ©
copyright <sup>©</sup>
4 Likes