{"id":414,"date":"2023-10-23T09:29:09","date_gmt":"2023-10-23T09:29:09","guid":{"rendered":"https:\/\/codeinterview.io\/blog\/?p=414"},"modified":"2023-11-23T05:39:37","modified_gmt":"2023-11-23T05:39:37","slug":"markdown-in-codeinterview","status":"publish","type":"post","link":"https:\/\/codeinterview.io\/blog\/markdown-in-codeinterview\/","title":{"rendered":"How to use markdown for creating assessments in CodeInterview"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/codeinterview.io\/coding-tests\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"196\" src=\"https:\/\/codeinterview.io\/blog\/wp-content\/uploads\/2023\/11\/CodeInterview-3.png\" alt=\"Developer Skill Assessment Tool\" class=\"wp-image-535\" srcset=\"https:\/\/codeinterview.io\/blog\/wp-content\/uploads\/2023\/11\/CodeInterview-3.png 1024w, https:\/\/codeinterview.io\/blog\/wp-content\/uploads\/2023\/11\/CodeInterview-3-300x57.png 300w, https:\/\/codeinterview.io\/blog\/wp-content\/uploads\/2023\/11\/CodeInterview-3-768x147.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>We recently launched markdown support when creating question templates. This article will highlight some of the use cases and how you can make the most of this functionality as an interviewer.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-how-to-get-started\"><br>How to get started<\/h3>\n\n\n\n<p>Head over to &#8220;Templates&#8221; in the sidebar and click &#8220;Create Template&#8221;. Select a programming language and you&#8217;ll be ready to input your question description and solution.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/Gm31z1W4yHlxrJ4z8xr8arejSKkOAlAEPlYcX3xq9gCj85Huq6j9bMgAhcHZ-6L9CM_HeEnqNmceFxVvyfz8UZj_MeFmROE9oZ_ayPhmZKZTg87u1FnnMJgp9B1gZYmNH7musl93B-za28dtqxgeIfI\" alt=\"\"\/><\/figure>\n\n\n\n<p>We use the standard markdown syntax as described in <a href=\"https:\/\/www.markdownguide.org\/basic-syntax\/\">this article<\/a>. Here are some examples to illustrate the functionality:&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-create-headings\"><br>Create headings<\/h4>\n\n\n\n<p>Simply add a number sign (#) in front of a word or phrase. One sign corresponds to H1, two signs to H2 and so on.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/BOiiEXDB4QRboZKsP6WIXZsObcAg3a1fWY3k8FmeVoj37_4BPie_YT911IzZ95klthVSYNeUgxVFZqpr9l-5Zt1AzXCRB-aFls7sz0N8jYCvys6coGF6XhvbRR0GXB4gO8D8s6HiRR1daU-CLAD-pxA\" alt=\"\"\/><\/figure>\n\n\n\n<p>This helps you structure sections within your questions and solutions.&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-bold-and-italic\"><br>Bold and Italic<\/h4>\n\n\n\n<p>Utilize two asterisks (*) or underscores (_) before and after a word\/phrase to make text bold. Use only one asterisk or underscore for italic. Use three to make it both bold and italic.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/E-L0XGESqqNoy6vpDkw3XZG36_9FrpBsXzNeY_ySvUKgeDBjUDifruoU5w6YbT_A85bYosLgpzkj2jQqsdrO1Ey_5HdGHjN948N_F7GlKdhBxFx8q3rFhK9PIcj_brHhPLIjbAEq6TcSjpwj3ww9vYQ\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-lists\"><br><br>Lists<\/h4>\n\n\n\n<p>You can create unordered lists using dashes (-), asterisks (*), or plus signs (+) in front of words or phrases. You can create numbered lists simply by adding a number in front, followed by a full stop.&nbsp;&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-tables\"><br>Tables<\/h4>\n\n\n\n<p>To create a table, use three or more hyphens (&#8212;) do define column headers and use pipes (|) to separate each column as the example below:&nbsp;<\/p>\n\n\n\n<p>\u200b\u200b| Syntax&nbsp; &nbsp; &nbsp; | Description |<\/p>\n\n\n\n<p>| Header&nbsp; &nbsp; &nbsp; | Title &nbsp; &nbsp; &nbsp; |<\/p>\n\n\n\n<p>| Paragraph &nbsp; | Text&nbsp; &nbsp; &nbsp; &nbsp; |<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-mathematical-expressions\"><br>Mathematical Expressions<\/h4>\n\n\n\n<p>You can use a single dollar sign ($) and double dollar signs ($$) to insert math expressions in TeX and LaTeX-style syntax. For example:<\/p>\n\n\n\n<p>$(wy^2 + xy + z = 0)$<\/p>\n\n\n\n<p>$$ x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a} $$<\/p>\n\n\n\n<p>This will be rendered as follows:<\/p>\n\n\n\n<p>wy<sup>2<\/sup> + xy + z = 0<br><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/O4YZWo418MLL1JnVPq61kXEaBVK3lEsp1L6mcRCtlMikRwe1QWNV1H9eSMwxyHjdDsE2k5TkB0MWubE4GiIujiRxoEdQBBlDS1ZnspFN01M9y8H3vPYZ30lERhX6Pp13zXzi62dCxixEjKsfmziCs1o\" width=\"148\" height=\"69\"><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-using-the-markdown-code-block\"><br>Using the Markdown code block<\/h4>\n\n\n\n<p>You can also preserve the original format by adding &#8220;`markdown before the text and closing with &#8220;` at the end. This will insert a markdown code block with the original formatting you have used.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/B4h5gjaj12wG6TJFhm0sGvX8ROUywhUNy3gChX6UrRR1NaT8pTcPJYrhH3TwBp56z36Udq2e2MgSZb8fQQWcgCkcSgTUBoPqfO6cgMB-BZA-Y6p_ouniZotSCYW8U6oL8km8c2msZj21tiVpX3eqbE4\" alt=\"\"\/><\/figure>\n\n\n\n<p><br>This is how the markdown will be rendered during the interview.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/tWxLo0akFszvLRr8wD5qInm8w6YMOUftn07snIyb4XSP6TNagsjvAQd2gqGkk5CR0FyoR_JKf3S6aDRcqSzrPNTWifyJ2jBfrLIJJQi_fKqM6qh_jKxh1oP5YPFrkhNlnAfo_HrncPFpsakzo-wSLuc\" alt=\"\"\/><\/figure>\n\n\n\n<p>These are some of the more common use cases for markdown which you can employ in CodeInterview questions and templates. You can also find more examples <a href=\"https:\/\/www.markdownguide.org\/extended-syntax\/#escaping-pipe-characters-in-tables\">here<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/codeinterview.io\/coding-tests\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"196\" src=\"https:\/\/codeinterview.io\/blog\/wp-content\/uploads\/2023\/11\/CodeInterview-3-1.png\" alt=\"\" class=\"wp-image-539\" srcset=\"https:\/\/codeinterview.io\/blog\/wp-content\/uploads\/2023\/11\/CodeInterview-3-1.png 1024w, https:\/\/codeinterview.io\/blog\/wp-content\/uploads\/2023\/11\/CodeInterview-3-1-300x57.png 300w, https:\/\/codeinterview.io\/blog\/wp-content\/uploads\/2023\/11\/CodeInterview-3-1-768x147.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>We recently launched markdown support when creating question templates. This article will highlight some of the use cases and how you can make the most of this functionality as an interviewer.&nbsp; How to get started Head over to &#8220;Templates&#8221; in the sidebar and click &#8220;Create Template&#8221;. Select a programming language and you&#8217;ll be ready to [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[26],"tags":[19,11,18],"class_list":["post-414","post","type-post","status-publish","format-standard","hentry","category-announcement","tag-release-notes","tag-resources","tag-tools"],"_links":{"self":[{"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/posts\/414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/comments?post=414"}],"version-history":[{"count":0,"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/posts\/414\/revisions"}],"wp:attachment":[{"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/media?parent=414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/categories?post=414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeinterview.io\/blog\/wp-json\/wp\/v2\/tags?post=414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}