Skip to content

Commit

Permalink
Use python syntax for starlark
Browse files Browse the repository at this point in the history
Summary:
Since in prismjs, it doesn't support starlark syntax highlight. https://github.com/PrismJS/prism/tree/master/components
We use python syntax instead.

Reviewed By: stepancheg

Differential Revision: D66912196

fbshipit-source-id: bae4626ff124bd6ac4619b18dd753b46ab439283
  • Loading branch information
Nero5023 authored and facebook-github-bot committed Dec 9, 2024
1 parent d7ce9c0 commit 5824ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlark/src/docs/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub enum DocStringKind {
/// For functions, they are the piece in `"""` that come right after the `def foo():` line,
/// and they have sections for additional details. An example from a starlark file might be:
///
/// ```starlark
/// ```python
/// """ Module level docs here """
///
/// def some_function(val: "string") -> "string":
Expand Down

0 comments on commit 5824ac3

Please sign in to comment.