Hervorhebung der gesuchten Begriffe in der Volltextsuche eingebaut
This commit is contained in:
@ -94,7 +94,10 @@
|
||||
list-style-type: square;
|
||||
}
|
||||
|
||||
|
||||
mark {
|
||||
background-color: lightblue;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@ -261,7 +264,9 @@
|
||||
content.forEach(function (item, index) {
|
||||
console.log(item.id);
|
||||
var page = item.id.replace(/.md/, '');
|
||||
$("#outputdiv").append("<a href='/"+page+"'>/"+page+"</a><br>");
|
||||
$("#outputdiv").append((index+1)+". Seite: <a href='/"+page+"'>/"+page+"</a><br>");
|
||||
$("#outputdiv").append(item.fragments.Text+"<hr>");
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user