Formatting with Markdown
-
blackbird71 last edited by
Hmm. Perhaps my brain isn't on top of things today... but I don't get what you're saying. I want to render a username as a profile link in a post, like @joshl, by simply typing the
ampersand@ and the username as I've always done here. That works. But if I try that same thing with a username like gwen-dragon, I get @gwen-dragon... which, if you click on the red highlighted portion, takes you to an error message instead of their profile page.Edited to add: OK... now I see part of what you're saying. I misnamed the symbol I use - indeed it's not an "ampersand" (which is & ), but instead a @ symbol. But the problem remains for the @ symbol, whatever its correct name. My question remains: how do I make a hyphenated username to work correctly as a profile link with that @ symbol?
-
ruario last edited by
Forget it, It doesn't work.
Or really? @gwen-dragon
[@gwen-dragon](/profile/gwen-dragon)
Yeah, ok you wouldn't want to do that every time. I agree it seems very broken!
P.S. @ is an At symbol.
-
ruario last edited by
What did you do to make it work?
I wrote the HTML code I used in my previous posting.
-
linuxmint7 last edited by
@ruario That's definitely a mouthful O.O. As you say, it's not something one would wish to do every time.
Using the Bold formatting to highlight a persons user-name could be a quicker temporary option (for now). Although not click-able, it still makes it easier to see who someone is referring to.
-
blackbird71 last edited by
Thanks @ruario. Perhaps it'd be simpler just to get 'hyphenated' users to change their usernames...
-
Deleted User last edited by
Perhaps it'd be simpler just to get 'hyphenated' users to change their usernames...
@blackbird71 Sorry, but my GwenDragon can not be reactivated here, so i had to use Gwen-Dragon
@ruario The autoformatting of the Markdown implementation in forum does not work user freindlich, what a pitty.
-
blackbird71 last edited by
Perhaps it'd be simpler just to get 'hyphenated' users to change their usernames...
@blackbird71 Sorry, but my GwenDragon can not be reactivated here, so i had to use Gwen-Dragon ...
It's not a problem for me, especially since I now have @ruario's "secret recipe" for how to enter such a name correctly here. But the forum notification system will probably not notify you if someone simply mentions your name in a forum post (which is what I originally was trying to do back at the beginning of all this)... assuming, of course, that you have notifications turned on. If somebody else simply enters @gwen-dragon to 'flag' you, the broken link becomes unrecognizeable, both by other users seeking your profile and by the system for notification purposes.
-
Deleted User last edited by
Yes, imho the parser code for usernames has a bug. the - is a allowed character in usernames, so the parser should not stop creating the profile link.
-
A Former User last edited by
@jetro
How do you get Enter in this thing stupid #%#ยค"&% forum type..
What do you mean?
I type Enter to get a new line, but it won't register it. So I made loads of lines, and it interprets it as one line. That's why I thought this code interpretation for a forum was really annoying. I expressed it quite badly, sorry.
Take a read of this thread, Jetro.
-
A Former User last edited by
No problem. The forum swallows underlines (interpreting them as formatting characters). Since I saw the italics in your post - and the BBcode - I knew exactly what happened.
What if you put it within a pair of angles or backticks?
:idea:Testing: "https://en.wikipedia.org/wiki/Timeline_of_natural_history#Neoarchean_Era"
-
sgunhouse Moderator Volunteer last edited by
I believe you can probably double it like__this, and of course HTML/C style character escapes (backslash before the character) _ ... and I believe it recognizes quotation marks "_".
Hmm, the doubled one still looks doubled, so no help. But the escaped one is fine (as expected).
-
A Former User last edited by
I used angles in my example - it worked.
Try backticks, if you wish.
What I'm having in mind is that there must be found a way - or two, simple one(s) - that we can officially recommend to users, especially new ones.
The backtick might be harder to find on one's keyboard, but the angles - they must be pretty common, right? And it does work as it seems.