Skip to content

Commit 4023908

Browse files
committed
fix: simply change the icon place to get a more minimalist view
1 parent f4d49dc commit 4023908

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
name: Publish
1+
name: Publisher

mkdocs_embed_file_plugins/plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,9 @@ def cite(md_link_path, link, soup, citation_part, config, callouts, custom_attr)
167167
link_soup = BeautifulSoup(html, 'html.parser')
168168
if link_soup:
169169
tooltip_template = (
170-
"<a href='"
170+
"<div class='citation'> <a href='"
171171
+ str(new_uri)
172-
+ "' class='link_citation'><i class='fas fa-link'></i> </a> <div"
173-
" class='citation'>"
172+
+ "' class='link_citation'><i class='fas fa-link'></i> </a>"
174173
+ str(link_soup).replace(
175174
'!<img class="wikilink', '<img class="wikilink'
176175
)
@@ -227,6 +226,7 @@ def on_post_page(self, output_content, page, config) -> str:
227226
):
228227
if len(link['src']) > 0:
229228

229+
230230
if link['src'][0] == '.': # relative links
231231
md_src = create_link(unquote(link['src']))
232232
md_link_path = Path(

0 commit comments

Comments
 (0)