effective-java-3rd-chinese/docs/_style/prism-master/components/prism-protobuf.min.js
2019-03-14 13:10:17 +08:00

1 line
309 B
JavaScript

Prism.languages.protobuf=Prism.languages.extend("clike",{keyword:/\b(?:package|import|message|enum)\b/,builtin:/\b(?:required|repeated|optional|reserved)\b/,primitive:{pattern:/\b(?:double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\b/,alias:"symbol"}});