Markdown URL not editable (easily)

the following markdown

[this is the text](https://this.is.the.url}

When entered into a MD file in Devon thing, converts to a hyperlink when in MD source edit mode. If I need to edit the text, I can not. The bold indictors this is bold remain in the source mode, and only show bold when switching to preview mode.

Sometime the inverse of the expect occurs. The source mode shows only the hyperlink, but the preview has the notation…

Please let me know what I am doing wrong.

DT 4.0.2

Well, it sounds like you have Format > WYSIWYG Editing occasionally enabled.
If the link is rendered in the source, select the text, then choose Format > Edit Link or the same command from the context menu.

1 Like

well, I was missing something

first the WYSIWYG is not an option, sometimes… I have files that it is grey others that it is there, If you select some text that happens to have the link that is not editable, then select the FORMAT, the option is there…

Not as intuitive as I would think.

Format > WYSIWYG Editing

only changes URL not bold??? or, it changes it to bold, but leaves the MD formating, but URL, well then we delete the formatting ? I would call this a bug, that the MD is deleted for URLs.

With WYSIWYG

Only thing that looses the Markup is URLs, it is actually the ONLY thing that seems to be effected.

Even weirder is if there is an error in the markup (seems to be in some cut&paste) is that the ‘WYSIWYG’ will interpet the MD, make it not editable, but in the PREVIEW show the MD not the URL as a hyperlink…


above with WSIWYG

This is the source with out WYSIWYG

WYSIWYG Editing enables when the cursor is in the source of the Markdown document.

only changes URL not bold??? or, it changes it to bold, but leaves the MD formating, but URL, well then we delete the formatting ? I would call this a bug, that the MD is deleted for URLs.

It is unclear what you’re trying to describe here.

Even weirder is if there is an error in the markup (seems to be in some cut&paste) is that the ‘WYSIWYG’ will interpet the MD, make it not editable, but in the PREVIEW show the MD not the URL as a hyperlink…

If there’s an error in the Markdown, especially one as obvious as yours is, what would you expect to see? The second line isn’t a valid Markdown link.

Thank You for the help with this,

Item 1

First, the WYSWYG is broken or not functional. I do not know how I turned it one, but it does not operate as a “what you see is what you get” if it did, it would not change ‘just the URL’ but all. The only thing that changes when it is turned on is hyperlinks. the MD for all other MD-Syntex remains in the document, and is defiantly *NOT What I see is what I get, the ‘Preview’ shows what I get, not the Source with WYSIWYG turned on, it only effects URLs, which is a very, very odd behavior, not indicative of the term WYSIWYG.

To be CLEAR MD Syntext

**Bold**

Has the " * " remaining in the view, and the text is BOLD. This is the case if WYSIWYG is on or off, the option does not remove the mark up.

[title](https://www.example.com)

Does change with the option turned on and off, it is the ONLY MD Syntex that I can see that the WYSIWYG feature changes. IF WYSIWYG is off, the Source Window, clearly shows the effect of the MD Syntex, with the Syntex still in line.

Hope that is clear on the issue with the feature. WYSIWYG should change all or no MD Syntex.

Item 2

why would this string of text, that is not MD

<dsfsdfs>([https://policy.company.com/cppc/policy-advisor/policies/view-policy/41)](https://policy.company.com/cppc/policy-advisor/policies/view-policy/41)

show as a single Hyper link as such

<dsfsdfs>(https://policy.company.com/cppc/policy-advisor/policies/view-policy/41)

When WYSIWYG is turned on. It is not a properly formatted MD Syntax

([text)](link) 

is not MD, but when WYSIWYG is on, it collapse this to a URL

<dsfsdfs>(https://policy.company.com/cppc/policy-advisor/policies/view-policy/41)

And the PREVIEW Does Not.

Issue with item 2 is that the tool is miss interpeting the text string and when WYSIWYG is on make it a URL when it is not.

Item 3

The Option

Format>WYSIWYG 

Is not always available when editing MD Documents. To make it available, you must select a set of text that has a hyper link in it, and with that text highlighted then go to the format menu, and the option is not greyed out.

You’re welcome.

Item 1

but it does not operate as a “what you see is what you get” if it did, it would not change ‘just the URL’ but all.

This is your interpretation of the feature, not necessarily how it should work. The implementation of any hybrid rendering is up to the discretion of the developer of an app. Using WYSIWYG mode doesn’t remove the control characters in all apps. In fact, I read something the other day that was touting “You can now hide the control characters with this switch!”. They are using the same rendering style we do, e.g., bold text doesn’t hide the control characters, it renders as bold but still shows them with the option to hide them.

Also, WYSIWYG is for images and links. Syntax highlighting is for the formatting to be shown in the source.

Item 2

Item 3

That is incorrect. You only need to put your cursor anywhere in the Markdown source.
I have confirmed this is the case with the public 4.0.2 release.

appreciate all the information. Not everything in Devon is for me and MD Editor is one, I have a set of choices, and they meet my need (DRAFT, IA Writer, Obsidian…)

I know how to stop the URL display, I will let me colleges know how to fix the issue for them as well.

You’re welcome and we are well known for supporting peoples’ decision to use the tools that suit them. If another Markdown editor fits better, have at it :slight_smile:

2 Likes