{"id":599,"date":"2020-06-24T15:16:35","date_gmt":"2020-06-24T14:16:35","guid":{"rendered":"https:\/\/pmortensen.eu\/world2\/?p=599"},"modified":"2026-01-27T21:52:24","modified_gmt":"2026-01-27T20:52:24","slug":"formatting-wordpress-comments-e-g-on-the-stack-overflow-official-blog","status":"publish","type":"post","link":"https:\/\/pmortensen.eu\/world2\/2020\/06\/24\/formatting-wordpress-comments-e-g-on-the-stack-overflow-official-blog\/","title":{"rendered":"Formatting WordPress comments, e.g. on the Stack Overflow official blog"},"content":{"rendered":"<p>One would expect <a href=\"https:\/\/en.wikipedia.org\/wiki\/Markdown\">Markdown<\/a> to be supported on the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Stack_Overflow\">Stack&nbsp;Overflow<\/a> <a href=\"https:\/\/stackoverflow.blog\/\">official blog<\/a>, but it is not. It is a <a href=\"https:\/\/en.wikipedia.org\/wiki\/WordPress\">WordPress<\/a>-based blog and there aren&#8217;t any comment plugins in use. Also, comments get lost if <a href=\"https:\/\/en.wikipedia.org\/wiki\/JavaScript\">JavaScript<\/a> is not allowed from certain domains.<\/p>\n<p>Note that all formatting, e.g., bold and italics (or at least in the preview and pre-approved view) broke in September 2020. Whether it will actually appear in the public (approved) version is an open question. Links seem to be still working.<\/p>\n<h2>Bold and italics<\/h2>\n<p>Use HTML formatting, &lt;strong>&lt;\/strong> and &lt;em>&lt;\/em>, respectively. Note that &#8220;strong&#8221; and &#8220;em&#8221; are supported, but <strong><em>not<\/em><\/strong> &#8220;b&#8221; and &#8220;i&#8221;.<\/p>\n<p>Example:<\/p>\n<p><code>In the &lt;em>title&lt;\/em> it &lt;strong>&lt;em>should&lt;\/em>&lt;\/strong> be.<\/code><\/p>\n<h2>Links<\/h2>\n<p>Use HTML formatting. <a href=\"https:\/\/pmortensen.eu\/world\/Link_Builder.php?LinkText=CPU&#038;URL=https:\/\/en.wikipedia.org\/wiki\/Central_processing_unit\">A link builder is available<\/a> (part of Edit Overflow).<\/p>\n<p>Example:<\/p>\n<p><code>&lt;a href=\"https:\/\/pmortensen.eu\/world\/EditOverflow.php?LookUpTerm=JQuery\">lookup&lt;\/a><\/code><\/p>\n<p>Result:<\/p>\n<p><a href=\"https:\/\/pmortensen.eu\/world\/EditOverflow.php?LookUpTerm=JQuery\">lookup<\/a><\/p>\n<h2 id=\"lostComments\">Other considerations<\/h2>\n<p>With JavaScript allow listing (<a href=\"https:\/\/en.wikipedia.org\/wiki\/NoScript\">NoScript<\/a>), the submitting of comments on the Stack Overflow official blog <strong><em>silently fails<\/em><\/strong> and the comment will be lost forever (another reason for writing the comment off-site, e.g. in a text document). Though in some browsers (in Firefox) it may be possible to save the comment by pressing the back button. It probably also fails for other WordPress-based blogs.<\/p>\n<p>It works if JavaScript is allowed from these domains (but it is currently not known if a smaller set will do):<\/p>\n<ul>\n<li><em>stackoverflow.blog<\/em>  &nbsp;&nbsp;&nbsp;&nbsp;(for that particular blog)<\/li>\n<li><em>gstatic.com<\/em>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(this one is a secondary request by the Stack Overflow podcast, not initially requested, only when submitting a comment.)<\/li>\n<li><em>pressablecdn.com<\/em>  &nbsp;&nbsp;&nbsp;&nbsp;(not present on all WordPress sites)<\/li>\n<li><em>simplecast.com<\/em>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(not present on all WordPress sites)<\/li>\n<li><em>wp.com<\/em><\/li>\n<\/ul>\n<p>Positively <strong><em>not<\/em><\/strong> needed:<\/p>\n<ul>\n<li><em>gaug.es<\/em><\/li>\n<li><em>doubleclikck.net<\/em><\/li>\n<li><em>google-analytics.com<\/em><\/li>\n<li><em>googletagmanager.com<\/em><\/li>\n<li><em>youtube.com<\/em><\/li>\n<\/ul>\n<p><strong><em>Note<\/em><\/strong>: This is not a guarantee! For example, the set of required domains to be able to post a comment has gradually changed over time and will probably continue to change. If anything goes wrong, the comment may be lost. <strong><em>Always<\/em><\/strong> save the comment offline and paste into the comment field.<\/p>\n<h2>Checklist before submitting a comment<\/h2>\n<ol>\n<li>Have you used HTML links and <strong><em>not<\/em><\/strong> Markdown links!?!?<\/li>\n<li>Have you used HTML formatting for <strong>bold<\/strong> and <em>italics<\/em> and <strong><em>not<\/em><\/strong> Markdown formatting for the same?\n<li>Have you enabled JavaScript from the required domains?<\/li>\n<\/ol>\n<h2 id=\"hidden-features\">Hidden features<\/h2>\n<p>WordPress blogs usually have an automatic <a href=\"https:\/\/en.wikipedia.org\/wiki\/RSS\">RSS<\/a> feed. Add &#8220;feed&#8221; to the end of the base URL to get the RSS feed URL. It works both for this blog and the Stack Overflow blog: <strong><em>https:\/\/pmortensen.eu\/world2\/feed<\/em><\/strong> and <strong><em>https:\/\/stackoverflow.blog\/feed<\/em><\/strong>, respectively.<\/p>\n<p>It works for categories as well. For example, category &#8220;Text editors&#8221; on this blog: <strong><em>https:\/\/pmortensen.eu\/world2\/category\/text-editors\/feed<\/em><\/strong> or <strong><em>https:\/\/pmortensen.eu\/world2\/category\/text-editors\/?feed=rss2<\/em><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One would expect Markdown to be supported on the Stack&nbsp;Overflow official blog, but it is not. It is a WordPress-based blog and there aren&#8217;t any comment plugins in use. Also, comments get lost if JavaScript is not allowed from certain &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/pmortensen.eu\/world2\/2020\/06\/24\/formatting-wordpress-comments-e-g-on-the-stack-overflow-official-blog\/\"> <span class=\"screen-reader-text\">Formatting WordPress comments, e.g. on the Stack Overflow official blog<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,22,21,37,3,19],"tags":[20],"_links":{"self":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/599"}],"collection":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/comments?post=599"}],"version-history":[{"count":69,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/599\/revisions"}],"predecessor-version":[{"id":3792,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/posts\/599\/revisions\/3792"}],"wp:attachment":[{"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/media?parent=599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/categories?post=599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pmortensen.eu\/world2\/wp-json\/wp\/v2\/tags?post=599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}