Skip to content

Commit f902188

Browse files
committed
add data-filename class to snippets
1 parent 2066902 commit f902188

File tree

1 file changed

+1
-1
lines changed
  • src/main/resources/embedding/assets

1 file changed

+1
-1
lines changed

src/main/resources/embedding/assets/entry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $(function(){
2525
"<span style='font-size:11px;'><a href=" + commitUrl + ">" + commit + "</a></span>",
2626
"</div>",
2727
"<div class='panel-body' style='padding:0; background-color:white;'>",
28-
"<pre class='embedded-snippet prettyprint linenums:" + lineStartNum + "' style='padding-left:15px; margin-bottom:0;'>",
28+
"<pre class='embedded-snippet prettyprint linenums:" + lineStartNum + "' data-filename='" + filename + "' style='padding-left:15px; margin-bottom:0;'>",
2929
content,
3030
"</pre>",
3131
"</div>",

0 commit comments

Comments
 (0)