RSS

Knowledge Base/Developers

Text Attachment Formats

David Naffis Mar 10

There are a number of formats that can be passed into the paste_format attribute of an update posting to format it for display or as source code. The following options are available:

Display Formats

These formats will be parsed and displayed as formatted HTML.

  • Formatted Text - text
  • Formatted HTML - html
  • Textile - textile
  • Markdown - markdown

Code Formats

These formats will be displayed in a monospace font and syntax highlighted according to the specified language.

  • Source Code (Generic) - code
  • ASP - asp
  • ActionScript - actionscript
  • C - c
  • C++ - c++
  • CSS - css
  • HTML - html
  • HTML (Rails) - html_rails
  • JSON - json
  • Java - java
  • Javascript - javascript
  • PHP - php
  • Perl - perl
  • Python - python
  • Ruby - ruby
  • Ruby on Rails - ruby_on_rails
  • SQL - sql
  • XHTML 1.0 - xhtml_1.0
  • XML - xml
  • YAML - yaml
 
Topic is closed for comments