{"id":53,"date":"2024-01-28T20:30:44","date_gmt":"2024-01-28T20:30:44","guid":{"rendered":"http:\/\/development.abcplayers.org\/index.php\/sass\/index\/"},"modified":"2024-01-28T20:30:44","modified_gmt":"2024-01-28T20:30:44","slug":"index","status":"publish","type":"page","link":"https:\/\/development.abcplayers.org\/index.php\/sass\/index\/","title":{"rendered":"CodeMirror: Sass mode"},"content":{"rendered":"<p><body><\/p>\n<div id=\"nav\">\n  <a href=\"http:\/\/codemirror.net\"><\/p>\n<h1>CodeMirror<\/h1>\n<p><img decoding=\"async\" id=\"logo\" src=\"..\/..\/doc\/logo.png\"\/><\/a><\/p>\n<ul>\n<li><a href=\"..\/..\/index.html\">Home<\/a>\n    <\/li>\n<li><a href=\"..\/..\/doc\/manual.html\">Manual<\/a>\n    <\/li>\n<li><a href=\"https:\/\/github.com\/codemirror\/codemirror\">Code<\/a>\n  <\/li>\n<\/ul>\n<ul>\n<li><a href=\"..\/index.html\">Language modes<\/a>\n    <\/li>\n<li><a class=\"active\" href=\"#\">Sass<\/a>\n  <\/li>\n<\/ul>\n<\/div>\n<article>\n<h2>Sass mode<\/h2>\n<form><textarea id=\"code\" name=\"code\">\/\/ Variable Definitions<\/p>\n<p>$page-width:    800px<br \/>\n$sidebar-width: 200px<br \/>\n$primary-color: #eeeeee<\/p>\n<p>\/\/ Global Attributes<\/p>\n<p>body<br \/>\n  font:<br \/>\n    family: sans-serif<br \/>\n    size: 30em<br \/>\n    weight: bold<\/p>\n<p>\/\/ Scoped Styles<\/p>\n<p>#contents<br \/>\n  width: $page-width<br \/>\n  #sidebar<br \/>\n    float: right<br \/>\n    width: $sidebar-width<br \/>\n  #main<br \/>\n    width: $page-width &#8211; $sidebar-width<br \/>\n    background: $primary-color<br \/>\n    h2<br \/>\n      color: blue<\/p>\n<p>#footer<br \/>\n  height: 200px<br \/>\n<\/textarea><\/form>\n<p>    <script><![CDATA[\n      var editor = CodeMirror.fromTextArea(document.getElementById(\"code\"), {\n        lineNumbers : true,\n        matchBrackets : true,\n        mode: \"sass\"\n      });\n    ]]><\/script><\/p>\n<p><strong>MIME types defined:<\/strong> <code>text\/x-sass<\/code>.<\/p>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CodeMirror Home Manual Code Language modes Sass Sass mode \/\/ Variable Definitions $page-width: 800px $sidebar-width: 200px $primary-color: #eeeeee \/\/ Global Attributes body font: family: sans-serif size: 30em weight: bold \/\/ Scoped Styles #contents width: $page-width #sidebar float: right width: $sidebar-width #main width: $page-width &#8211; $sidebar-width background: $primary-color h2 color: blue #footer height: 200px MIME types [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":52,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-53","page","type-page","status-publish","hentry","post"],"_links":{"self":[{"href":"https:\/\/development.abcplayers.org\/index.php\/wp-json\/wp\/v2\/pages\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/development.abcplayers.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/development.abcplayers.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/development.abcplayers.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/development.abcplayers.org\/index.php\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":0,"href":"https:\/\/development.abcplayers.org\/index.php\/wp-json\/wp\/v2\/pages\/53\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/development.abcplayers.org\/index.php\/wp-json\/wp\/v2\/pages\/52"}],"wp:attachment":[{"href":"https:\/\/development.abcplayers.org\/index.php\/wp-json\/wp\/v2\/media?parent=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}