Fix code highlighting
This commit is contained in:
parent
96f5f724d9
commit
787d20ef0c
@ -47,7 +47,7 @@
|
|||||||
Select2 will convert the <code><option></code> tag into a data object based on the following rules.
|
Select2 will convert the <code><option></code> tag into a data object based on the following rules.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% highlight js linenos %}
|
{% highlight txt linenos %}
|
||||||
{
|
{
|
||||||
"id": "value attribute" || "option text",
|
"id": "value attribute" || "option text",
|
||||||
"text": "label attribute" || "option text",
|
"text": "label attribute" || "option text",
|
||||||
@ -59,7 +59,7 @@
|
|||||||
And <code><optgroup></code> tags will be converted into data objects using the following rules
|
And <code><optgroup></code> tags will be converted into data objects using the following rules
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{% highlight js linenos %}
|
{% highlight txt linenos %}
|
||||||
{
|
{
|
||||||
"text": "label attribute",
|
"text": "label attribute",
|
||||||
"children": [ option data object, ... ],
|
"children": [ option data object, ... ],
|
||||||
|
Loading…
Reference in New Issue
Block a user