hi rockedge
sometimes when i post my text is being arbitrarily put in code boxes
dont know why and cant seem to stop it
wanderer
hi rockedge
sometimes when i post my text is being arbitrarily put in code boxes
dont know why and cant seem to stop it
wanderer
Very strange indeed. I can look at the raw post you made but I can not see any reason why the code block is appearing. When I check the disable BBCode at the bottom of the editor, of course the code block disappears.
But it shouldn't be doing this.
I am experimenting with your post and I did get it to just create 2 code blocks with only one of them intentional.
this is a test and a thank you
Code: Select all
blah blah blah blah
blah blah blah blah
wanderer
I dont' know which "raw post" you are referring to, but as for wanderer's next post the reason is the new Markdown option. ("To output code, enclose it in a pair of ``` or ~~~, or alternatively add 4 empty spaces before each line")
Maybe you should disable it by default. It can really create unintended results and the description isn't accurate either.
line with no prepending space
line with 1 prepending space
line with 2 prepending spaces
line with 3 prepending spaces
Code: Select all
line with 4 prepending spaces
line with 5 prepending spaces
text in single backtics
text in double backtics
text in triple backtics
~ text in single tildes ~
text in double tildes
~ text in triple tildes
thanks MochiMoppell
i removed all preceding spaces
and it worked
wanderer
Alternatively, when you're posting it looks like there is a checkbox to allow you to disable markdown.
@MochiMoppel good explanation! I thought this was a markdown - bbcode conflict / control type issue.
The best way for a user to prevent any conflicts or un-wanted side effects is to check the Markdown disable box on the controls at the bottom of the post editor. I have not found a good way to disable the Markdown extension by default with an "Enable" checkbox for each individual post so we will stick with option to disable Markdown on a per post basis.
@rockedge Why not disable it with
<input type="checkbox" name="disable_markdown" id="disable_markdown" checked="checked"/>
And is there anything you can do about this incorrect "Markdown guide"?
@MochiMoppel We certainly can modify the Markdown document! I could use some help and guidance to correct the doc.
I can add the HTML as described and set the check box by default. This is a good idea. Now to track it down and do it!
I modified the Markdown extension to disable the Markdown feature by default.