To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading)
so your link should look like so:
[create an anchor](#anchors-in-markdown)
/* | |
AEM DOM BASED ROUTING SECTION | |
The data-controller attribute should point to the module defined JS controller (required) | |
The data-action attribute should reference a method of that controller, which will be passed an array of dom elements . | |
(Defaults to init) | |
The data-config object should contain a JSON object with configuration parameters (optional) | |
See http://www.paulirish.com/2009/markup-based-unobtrusive-comprehensive-dom-ready-execution/ for inspiration | |
ex: <div id="${divId}" | |
data-composer='foo' | |
data-action='doit' |
#GLOBAL | |
HTTPRESPONSE="json" | |
SUCCESS="success" | |
#TEST | |
#UIARTFCT="org.acs.cq-code-476" | |
#UILOC="/appl/bamboo-home/xml-data/build-dir/393217/CQ5-MASTER-JOB1/ui/target/" | |
#AUTHORHOST="cmsautdev.acs.org" | |
#AUTHORPORT="443" | |
#AUTHORPROTOCOL="https://" |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>International Center Search</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<!-- Search Engine Verify for Home Page --> | |
<meta name="msvalidate.01" content="3D92C0EE929BE04567ECFDE4F390DC96" /> | |
<meta name="google-site-verification" content="xL7RtAlI13QtadjUtrjw9-TnDxGRYmO6ysBvEd9_xwQ" /> | |
<meta name="y_key" content="1940ff70ba0e0bee" /> |
// paste the following into a new bookmark called CQ5 Preview | |
javascript:(function(){ | |
function updateQueryStringParameter(uri, key, value) { | |
var re = new RegExp("([?|&])" + key + "=.*?(&|$)", "i"); | |
separator = uri.indexOf('?') !== -1 ? "&" : "?"; | |
if (uri.match(re)) { | |
return uri.replace(re, '$1' + key + "=" + value + '$2'); | |
} | |
else { | |
return uri + separator + key + "=" + value; |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head id="Head1"><title> | |
ACS Email Management | |
</title><meta id="storemsg" name="storemsg" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<meta name="application" content="Giving"/> | |
<!-- Search Engine Verify for Home Page --> | |
<meta name="msvalidate.01" content="3D92C0EE929BE04567ECFDE4F390DC96" /> | |
<meta name="google-site-verification" content="xL7RtAlI13QtadjUtrjw9-TnDxGRYmO6ysBvEd9_xwQ" /> |
(function() { | |
var config = { | |
kitId: "XXXXXXX", | |
scriptTimeout: 3000 | |
} | |
, l = "wf-loading" | |
, d = "wf-inactive" | |
, h = $("html").addClass(l) | |
, t = setTimeout(function(){ | |
h.removeClass(l).addClass(d); |
/*global module:false*/ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: '<json:jquery.sessiontimeout.js.jquery.json>', | |
meta: { | |
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + | |
'<%= grunt.template.today("yyyy-mm-dd") %>\n' + | |
'<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' + |
# remove from CRX all files deleted from file system | |
$ vlt st | grep ! | cut -c 2- | xargs -I {} vlt rm {} | |
# add to CRX all files not yet in vlt control | |
$ vlt st | grep \? | cut -c 2- | xargs -I {} vlt add {} | |
# add all missing files into the CRX | |
vlt st | grep ^A | cut -c 2- | xargs -I {} vlt commit --force {} | |
# copy all modified files into the CRX |
var http = require('http'), | |
url = require('url'), | |
util = require('util'); | |
http.createServer( function (req, res) { | |
res.writeHead( 200, {'Content-Type': 'text/plain'} ); | |
var qs = url.parse( req.url, true ); | |
res.write( util.inspect( qs.query ) ); |