• About Cosense
  • Help
  • Log in
Cosense Help
Code blocks
Want to add code to your pages on Cosense? You can. All major programming languages are supported.

To start a new code block type code:file.extension and press enter. Then simply type or paste your code.

For example:
hello.js
function () {
alert(document.location.href)
console.log("hello")
}

You can also use Code notation for little snippets or to indicate features, button text, etc. Read more on Code notation

Related
  • Sort by
  • Related
  • Modified
  • Created
  • Last visited
  • Most linked
  • Page rank
  • Title
  • Links
  • Code notation
    [* Code snippets]By adding backticks, all symbols and characters such as `[` are displayed as is. They no longer have normal Cosense syntax properties and are syntax highlighted.Example: `alert('Hello [World]')`
  • Syntax
  • Key features
    [/icons/Check.icon] [[Bi-directional links help you stay in context at all times]]When you click a [link] and go to a new page you will always see a link back to the source page in the footer. Also known as [* backlinks].
  • Userscript
    Advanced FeaturesThis is a very speciazlied and potentially [dangerous feature for advanced users]You should not load untrustworthy scripts or scripts whose content you do not understand.UserScript can also be used to delete pages and send the contents of the project to external parties.
  • Code notation
  • Themes
  • Created by BenBen
  • Updated by benben
  • Views: 2927
  • Page rank: 5.8
  • Copy link
  • Copy readable link
  • Start presentation
  • Hide dots
Code blocks
Want to add code to your pages on Cosense? You can. All major programming languages are supported.
To start a new code block type code:file.extension and press enter. Then simply type or paste your code.
For example:
code:hello.js
function () {
alert(document.location.href)
console.log("hello")
}
You can also use Code notation for little snippets or to indicate features, button text, etc. Read more on Code notation