Formatting with Markdown
-
A Former User last edited by admin
I reported it broken on October 24th.
I've not been aware of it working since then. -
A Former User last edited by admin
@sgunhouse:
Steve, try using four spaces starting the line here:idea: -
blackbird71 last edited by
There are now some usernames in the forums with hyphens in the middle (eg: gwen-dragon). However, when I try to flag that with an ampersand in the usual manner to create a link to the user, the result is to only flag the first half of the username... and this breaks the correct link clickability. My understanding is that the ampersand flags the text that immediately follows as being html (for Markdown interpretation)... but the hyphen seems to end that interpretation process midstream. What is the best way to treat hyphenated usernames preceded by an ampersand, within a post made in Markdown?
-
A Former User last edited by
- It's not the ampersand.
- Ruario has already explained it's not exactly the Markdown.
- The thing stays anyway... :rolleyes:
-
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.