diff --git a/experiments/outline-editor/editor.css b/experiments/outline-editor/editor.css index 38e160e..aaa6f27 100755 --- a/experiments/outline-editor/editor.css +++ b/experiments/outline-editor/editor.css @@ -350,6 +350,13 @@ editor .outline [tabindex]:focus { /*margin-left: 0;*/ } +/* code... */ +.editor .outline [tabindex]>span code { + padding: 0.1em 0.3em; + font-family: monospace; + background: rgba(0,0,0,0.07); + border-radius: 0.2em; +} /*********************************************************************/ diff --git a/experiments/outline-editor/editor.js b/experiments/outline-editor/editor.js index 32ce271..c01085f 100755 --- a/experiments/outline-editor/editor.js +++ b/experiments/outline-editor/editor.js @@ -339,9 +339,10 @@ var Outline = { .replace(/(?')) // basic styling... - .replace(/(?$1') - .replace(/(?$1') - .replace(/(?$1') + .replace(/(?$1') + .replace(/(?$1') + .replace(/(?$1') + .replace(/(?$1') // quoting... .replace(/(?