Viewing the potential live output when editing a question or answer.
I have just raised a Q and A but when editing the answer (that involves a picture) there is no "live" version of the potentially finished post and this will prove to be a problem when making a complex answer especially if MathJax/Latex is used. SE.EE does support this feature and I think it's vital.
Also, there is no facility to renumber the bullet points. If you look in my answer, there are two bullet points names "1".
This is what I see when editing an answer: -
__ Well I tried to embed an image by pressing the picture button but I got javascript:void() in the bottom left corner. Yet I know java is enabled because I've just used a web page that uses it and I should know because it's one of my own web pages __
3 answers
Sounds like you have JavaScript disabled for this site. There is a live preview feature available, but it necessarily requires JavaScript to work; without JS enabled, it just... won't.
As for your bullet points, this is a feature of Markdown (though "feature" is questionable...). Any line that starts with a number and a period, i.e. 1.
or 2.
is treated as a bullet point in a list and put into an ol
HTML element. These elements number their items automatically. When you have a list item, followed by a block of content that's not part of that list item, then another list item, they are treated as two separate lists, and numbering starts again at 1.
You can solve this by making the block of content in the middle part of the preceding list item. In your case, you've got an image between points 1 and 2 that splits the list; if you make that image part of point 1, it should display no differently but number the lists correctly - you can do that by indenting the line containing the image with four (or more) spaces.
I've edited the post for you to fix its display; if you follow the edit link yourself, you'll be able to see the changes to the Markdown I've made to make it work.
I recommend using native HTML for lists, and most other formatting for that matter. HTML gets around the ambiguity of what is an item and what is text following the list. The list isn't over until the </ol> tag.
For more information about formatting, see the Formatting Posts document in the site help. This is at https://electrical.codidact.com/help/formatting.
A work around has been found for this and I'm sure this will get a proper fix before long: -
- Go to the edit button for your answer (for example) and press it
- Notice that there is no live preview screen of the edit-in-progress as per this: -
- What you see below the edit-answer text area is a preview screen of the original question (incorrect - that should appear but further down below the "currently-invisible" answer preview screen)
- Click somewhere in the text edit area and use CTRL-mousewheel to reduce the web page size to something smaller
- After a second or so you should see the correct preview screen: -
1 comment thread