code-example
Version:
Language code example.
9 lines (8 loc) • 1.09 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var code = "doctype html\n html\n head\n title= \"Pug Templating CodeMirror Mode Example\"\n link(rel='stylesheet', href='/css/bootstrap.min.css')\n link(rel='stylesheet', href='/css/index.css')\n script(type='text/javascript', src='/js/jquery-1.9.1.min.js')\n script(type='text/javascript', src='/js/bootstrap.min.js')\n body\n div.header\n h1 Welcome to this Example\n div.spots\n if locals.spots\n each spot in spots\n div.spot.well\n div\n if spot.logo\n img.img-rounded.logo(src=spot.logo)\n else\n img.img-rounded.logo(src=\"img/placeholder.png\")\n h3\n a(href=spot.hash) ##{spot.hash}\n if spot.title\n span.title #{spot.title}\n if spot.desc\n div #{spot.desc}\n else\n h3 There are no spots currently available.\n\n";
var _default = code;
exports.default = _default;