1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-11-22 22:09:45 +01:00

nvim: stars display correctly after pandoc compile

This commit is contained in:
2025-11-16 10:04:32 +01:00
parent 97fca993a3
commit 909c50a4d0
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
% \usepackage[utf8]{inputenc}
% \DeclareUnicodeCharacter{2605}{\ensuremath{\star}}
%
\usepackage{fontspec}
\usepackage{newunicodechar}
\newfontfamily\symbolafont{Symbola}
% U+2605 BLACK STAR
\newunicodechar{}{{\symbolafont}}
% U+2606 WHITE STAR
\newunicodechar{}{{\symbolafont}}