<commit_before>---
layout : plugin
title  : Filter
plugin : true
id     : filter
---

<h3>Examples</h3>

<ul>
	{% for item in site.pages %}
		{% if item.example == 'filter' %}
			<li data-order="{{ item.order }}"><a id="example-{{ item.id }}" href="{{ item.url }}">{{ item.title }}</a></li>
		{% endif %}
	{% endfor %}
</ul>

<commit_msg>Added intro to the filter plugin.<commit_after>---
layout : plugin
title  : Filter
plugin : true
id     : filter
---
{% include common.html %}

{% capture intro %}
The {{ Filter }} introduces ability to limit tags that the {{ Tags }} plugin will accept. The list of allowed tags can be either hardcoded or can come from the {{ Suggestions }} plugin.
{% endcapture %}

{{ intro | markdownify }}

<h3>Examples</h3>

<ul>
	{% for item in site.pages %}
		{% if item.example == 'filter' %}
			<li data-order="{{ item.order }}"><a id="example-{{ item.id }}" href="{{ item.url }}">{{ item.title }}</a></li>
		{% endif %}
	{% endfor %}
</ul>


{'fraction_non_alphanumeric': 0.21068859198355602, 'fraction_numerical': 0.0041109969167523125, 'mean_word_length': 3.290748898678414, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4215014', 'n_tokens_mistral': 361, 'n_tokens_neox': 323, 'n_words': 103}