<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Where can I find syntax to as a question in this devzone?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15322/where-can-i-find-syntax-to-as-a-question-in-this-devzone</link><description>As title, where can I find the syntax for this editor? 
 If it does not exist, 
 
 Q1. How can I put sample source code block? 
 Q2. How can I put new line only? (without blank line) 
 
 Best Regards. 
 Jake</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jul 2016 07:19:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15322/where-can-i-find-syntax-to-as-a-question-in-this-devzone" /><item><title>RE: Where can I find syntax to as a question in this devzone?</title><link>https://devzone.nordicsemi.com/thread/58553?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2016 07:19:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dacdc6f-d6fb-4c98-8475-07ece675e38f</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The editor is an older version of the markdown language, many HTML style syntaxes will work.&lt;/p&gt;
&lt;p&gt;To preformat text:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/preformat.png" alt="image description" /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Mark the text you wish to preformat&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the preformatted text button&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;
while(true)
{
    //Do nothing
}
&lt;/pre&gt;
&lt;p&gt;This will work for most cases, however there are some editor bugs where the procedure above will not preformat properly, is this case you can preformat by using HTML syntax, ie.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;pre&amp;gt;

Your preformatted code here

&amp;lt;/pre&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To preformat a single line you can do this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;`Cool red line`
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;Cool red line&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You can make things bold like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;**Bold text**
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Bold Text&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Emphasized like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;*Emphasized text*
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;Emphasized text&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Line breaks can be done using double enter or by using HTML syntax&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;br&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Line&lt;br /&gt;&lt;br /&gt;broken&lt;br /&gt;&lt;br /&gt;text&lt;/p&gt;
&lt;p&gt;Header styles (useful for blogs and tutorials):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;h1&amp;gt;Header 1&amp;lt;/h1&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h1&gt;Header 1&lt;/h1&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;h2&amp;gt;Header 2&amp;lt;/h2&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;h2&gt;Header 2&lt;/h2&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;h3&amp;gt;Header 3&amp;lt;/h3&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;h3&gt;Header 3&lt;/h3&gt;&lt;/p&gt;
&lt;br /&gt;
You can always see the &amp;quot;source code&amp;quot; by viewing the raw text in the edit answer window. Another practical tip is that image upload paths are global, ie. a image that was posted in one answer does not have to be reuploaded, just use the `/cfs-file/__key/communityserver-discussions-components-files/4/preformat.png`(image used in this post) path.
&lt;p&gt;Finally there&amp;#39;s one important gotcha, due to a bug you have to add blank lines above and under special nodes in the text, otherwise they will not perform as intended.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>