Closed Seb35 closed 5 months ago
it would be good to manage it through a parameter, for instance
$params['datatables-mark'] = [
'type' => 'boolean',
'message' => 'srf-paramdesc-datatables-library-option',
'default' => false,
];
and
$params['datatables-mark.diacritics'] = [
'type' => 'boolean',
'message' => 'srf-paramdesc-datatables-library-option',
'default' => false,
];
etc. for the most relevant options available here https://markjs.io/#mark so we keep the current design
hello @Seb35 can you resync the fork so we can merge it ? thank you
Since https://github.com/SemanticMediaWiki/SemanticResultFormats/pull/801 was merged, this PR should be closed.
This improves the recent work on the datatables format, it highlights the search results by using the library mark.js and its datatables plugin, both under MIT license.
See this blog post in datatables.net for an overview of this library mark.js and its integration.