Read the statement by Michael Teeuw here.
Is there a Difference between these ???
-
@plainbroke To expand on @wishmaster270 comment - To post code, please use the button
that looks like this:
that button puts this ``` into your text, allowing you to get code posted like this to make it readable:
{ ipAddress: “192.168.178.31”, name: “QNAP1”, icon: “database”, colorStateOnline: “green”, colorStateOffline: “red”, }, -
@BKeyport however
if u copy/paste from outside a code block backtics
the bad quotes(curved/slanted) are copied, as in your example
and will not be corrected, and will cause problems in config.js
-
@sdetweil (that wasn’t a copy. It was escaped. backslash ` )
-
@BKeyport your post has the bad quotes
that’s all I was saying, even tho in code block -
@sdetweil oh, I C&P’d that. :)
-
@BKeyport yes, that was my point
-
Ok, I get it I did not post it correctly.
What I am trying to get at does it matter if the line is one line of text or does it need to be several lines to make it read correctly in MM? -
@plainbroke the 3backtics of the code block must be on a separate line. start and end
-
@plainbroke Both versions have an error (different errors).
-
list itemThe single line example has " (quote marks) missing in “database” that you need to add.
-
list itemThe multi-line example has an extra , (comma) after “red” that you need to delete.
This is like programming: precise details matter and stop things working if you get them wrong
-
-
@ExperiMentor the extra comma is not an error…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login