mirror of
https://github.com/apple/pkl.git
synced 2026-04-11 03:06:55 +02:00
Fixes for pkldoc (#96)
* Add URI encoding to paths and fragments * Render quotes around identifiers when appropriate
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
module com.package2.Module3
|
||||
|
||||
/// Something something [`property {} <> four`]
|
||||
property3: String
|
||||
|
||||
`property {} <> four`: String
|
||||
|
||||
function function3(n: Int): String = n.toString()
|
||||
|
||||
class Class3 {
|
||||
@@ -9,3 +12,7 @@ class Class3 {
|
||||
|
||||
function function3(n: Int): String = n.toString()
|
||||
}
|
||||
|
||||
class `Class Two {}` {
|
||||
prop: String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user