markdown 在树枝中生成链接
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 在树枝中生成链接相关的知识,希望对你有一定的参考价值。
### Generates an absolute URL given a route name and parameters:
```twig
url($name, $parameters = [], $options = [])
```
Example:
```twig
url('entity.node.canonical', {'node': 42})
```
Result:
```
node/42
```
### Generates a relative URL given a route name and parameters:
```twig
path($name, $parameters = [], $options = [])
```
Example:
```twig
path('entity.node.canonical', {'node': 42})
```
Result:
```
https://example.com/node/42
```
以上是关于markdown 在树枝中生成链接的主要内容,如果未能解决你的问题,请参考以下文章