Add Code Syntax Highlighting to wysiwyg Profile

Author: 
el_bearduno
el_bearduno's picture
Assignee: 
Labels: 
Status: 
Priority: 

Add syntax highlighting using http://ckeditor.com/addon/codesnippet

Totally completed. Only took 3 hours! Check it!
 

public RectTransform roomPrefab;
public int roomCount = 1;
public float minSize = 10;
public float maxSize = 30;
public AnimationCurve sizeDistribution = AnimationCurve.Linear(0, 0, 1, 1);
public float minBoxyness = 1;
public float maxBoxyness = 1;
public AnimationCurve boxynessDistribution = AnimationCurve.Linear(0, 0, 1, 1);
public float minConnectedness = 0.2f;
public bool allowOverlap = true;
public float branchyness = 0.2f;

 

Add new comment

Basic Editor

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain Text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.