feat: enable adding URL/path to code blocks (#307)

This commit is contained in:
welpo
2024-05-03 17:37:40 +02:00
parent 0cbd727f25
commit b70efd1642
17 changed files with 175 additions and 10 deletions

View File

@@ -78,6 +78,23 @@ pre {
text-align: left;
text-transform: uppercase;
}
.source-path {
display: block;
position: absolute;
top: 0;
right: 1.3rem;
padding-top: 0.3rem;
padding-right: 1.3rem;
max-width: 80%;
height: 0.9rem;
overflow: hidden;
color: var(--hover-color);
font-size: 0.65rem;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}