Widget:Highlight: Difference between revisions
Jump to navigation
Jump to search
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 2: | Line 2: | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js"integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg=="crossorigin="anonymous"referrerpolicy="no-referrer"></script> | <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js"integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg=="crossorigin="anonymous"referrerpolicy="no-referrer"></script> | ||
<script> | <script> | ||
<!--{foreach}--> | <!--{foreach item=term}--> | ||
$(".mark-terms").mark("<!--{$term}-->"); | $(".mark-terms").mark("<!--{$term}-->"); | ||
<!--{/foreach}--> | <!--{/foreach}--> | ||
</script> | </script> |
Revision as of 06:35, 20 June 2022
<script src="https://code.jquery.com/jquery-1.12.4.min.js"integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js"integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg=="crossorigin="anonymous"referrerpolicy="no-referrer"></script> <script> $(".mark-terms").mark(""); </script>