1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00
semantic/proto/markdown_term.proto

128 lines
2.2 KiB
Protocol Buffer

// This file was generated by proto-gen. Do not edit by hand.
syntax = "proto3";
package github.semantic.markdownterm;
import "types.proto";
option java_package = "com.github.semantic.markdownterm";
option go_package = "github.com/semantic/markdownterm;markdown";
message MarkdownTerm {
MarkdownSyntax syntax = 1;
}
message MarkdownSyntax {
oneof syntax {
Document document = 1;
BlockQuote blockQuote = 2;
Heading heading = 3;
HTMLBlock hTMLBlock = 4;
OrderedList orderedList = 5;
Paragraph paragraph = 6;
ThematicBreak thematicBreak = 7;
UnorderedList unorderedList = 8;
Table table = 9;
TableRow tableRow = 10;
TableCell tableCell = 11;
Code code = 12;
Emphasis emphasis = 13;
Image image = 14;
LineBreak lineBreak = 15;
Link link = 16;
Strong strong = 17;
Text text = 18;
Strikethrough strikethrough = 19;
Error error = 20;
List list = 21;
}
}
message Document {
repeated MarkdownTerm values = 1;
}
message BlockQuote {
repeated MarkdownTerm values = 1;
}
message Heading {
int64 headingLevel = 1;
repeated MarkdownTerm headingContent = 2;
repeated MarkdownTerm sectionContent = 3;
}
message HTMLBlock {
string value = 1;
}
message OrderedList {
repeated MarkdownTerm values = 1;
}
message Paragraph {
repeated MarkdownTerm values = 1;
}
message ThematicBreak { }
message UnorderedList {
repeated MarkdownTerm values = 1;
}
message Table {
repeated MarkdownTerm values = 1;
}
message TableRow {
repeated MarkdownTerm values = 1;
}
message TableCell {
repeated MarkdownTerm values = 1;
}
message Code {
string codeLanguage = 1;
string codeContent = 2;
}
message Emphasis {
repeated MarkdownTerm values = 1;
}
message Image {
string imageURL = 1;
string imageTitle = 2;
}
message LineBreak { }
message Link {
string linkUrl = 1;
string linkTitle = 2;
}
message Strong {
repeated MarkdownTerm values = 1;
}
message Text {
string value = 1;
}
message Strikethrough {
repeated MarkdownTerm values = 1;
}
message Error {
repeated ErrorSite errorCallStack = 1;
repeated string errorExpected = 2;
string errorActual = 3;
repeated MarkdownTerm errorChildren = 4;
}
message List {
repeated MarkdownTerm listContent = 1;
}