Use ready function from the default layouts
You don't actually need to include the document ready function in the page. The commit updates the document ready function in the default template to specify the features discussed in the prose and deletes the one that is embedded in the page itself.
This commit is contained in:
@ -10,20 +10,6 @@ permalink: mydoc_tables.html
|
||||
folder: mydoc
|
||||
---
|
||||
|
||||
{% unless site.output == "pdf" %}
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
||||
$('table.display').DataTable( {
|
||||
paging: true,
|
||||
stateSave: true,
|
||||
searching: true
|
||||
}
|
||||
);
|
||||
});
|
||||
</script>
|
||||
{% endunless %}
|
||||
|
||||
## Multimarkdown Tables
|
||||
|
||||
You can use Multimarkdown syntax for tables. The following shows a sample:
|
||||
|
Reference in New Issue
Block a user