diff --git a/src/formatitko/html.py b/src/formatitko/html.py
index 55d54b7..28e408b 100644
--- a/src/formatitko/html.py
+++ b/src/formatitko/html.py
@@ -13,8 +13,13 @@ from .util import inlinify
from .context import Group
from .images import ImageProcessor
+import warnings
+warnings.warn("The html function has been deprecated, is left only for reference and will be removed in future commits. HTML_generator should be used in its place.", DeprecationWarning)
+
def html(e: Union[Element, ListContainer], k: KatexClient, i: ImageProcessor, indent_level: int=0, indent_str: str="\t") -> str:
-
+
+ warnings.warn("The html function has been deprecated, is left only for reference and will be removed in future commits. HTML_generator should be used in its place.", DeprecationWarning)
+
# `only` attribute which makes transformed elements appear only in tex
# output or html output
if hasattr(e, "attributes") and "only" in e.attributes and e.attributes["only"] != "html":