android13/external/stardoc/test/testdata/macro_kwargs_test/golden.md

2.0 KiB
Executable File

macro_with_args

macro_with_args(name, args)

My args macro is OK.

PARAMETERS

Name Description Default Value
name The name of the test rule. none
args Other arguments to include none

macro_with_both

macro_with_both(name, number, args, kwargs)

Oh wow this macro has both.

Not much else to say.

PARAMETERS

Name Description Default Value
name The name of the test rule. none
number Some number used for important things 3
args Other arguments to include none
kwargs Other attributes to include none

macro_with_kwargs

macro_with_kwargs(name, config, deps, kwargs)

My kwargs macro is the best.

This is a long multi-line doc string. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer elementum, diam vitae tincidunt pulvinar, nunc tortor volutpat dui, vitae facilisis odio ligula a tortor. Donec ullamcorper odio eget ipsum tincidunt, vel mollis eros pellentesque.

PARAMETERS

Name Description Default Value
name The name of the test rule. none
config Config to use for my macro none
deps List of my macro's dependencies []
kwargs Other attributes to include none