Skip to content

Commit 62c8467

Browse files
committed
Use plain Markdown link
1 parent 572a52e commit 62c8467

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mlir/tools/mlir-tblgen/OpDocGen.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,8 @@ static void emitSourceLink(StringRef inputFilename, raw_ostream &os) {
272272

273273
StringRef inputFromMlirInclude = inputFilename.substr(pathBegin);
274274

275-
os << "<span class=\"op-definitions-source-link\">\n";
276-
os << " <a href=\"https://github.com/llvm/llvm-project/blob/main/"
277-
<< inputFromMlirInclude << "\">source</a>\n";
278-
os << "</span>\n\n";
275+
os << "[source](https://github.com/llvm/llvm-project/blob/main/"
276+
<< inputFromMlirInclude << ")\n\n";
279277
}
280278

281279
static void emitOpDoc(const RecordKeeper &recordKeeper, raw_ostream &os) {

0 commit comments

Comments
 (0)