Skip to content

Commit 0770374

Browse files
committed
fixup! feat: Add link_titles option and adapt related logic
1 parent ffa06bf commit 0770374

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mkdocs_autorefs/references.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from functools import lru_cache
1111
from html import escape, unescape
1212
from html.parser import HTMLParser
13-
from typing import TYPE_CHECKING, Any, Callable, ClassVar
13+
from typing import TYPE_CHECKING, Any, Callable, ClassVar, Literal
1414
from urllib.parse import urlsplit
1515
from xml.etree.ElementTree import Element
1616

tests/test_references.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from __future__ import annotations
44

55
from textwrap import dedent
6-
from typing import TYPE_CHECKING
6+
from typing import TYPE_CHECKING, Any
77

88
import markdown
99
import pytest

0 commit comments

Comments
 (0)