我知道编辑这个网站吗?

链接

此页面演示如何链接到某些特殊类别的外部内容。

## 横幅

以下液体代码:

{% include link-banner url='https://forum.image.sc/' %}

产生:

GitHub

使用 path 链接到存储库根目录之外的文件:

代码

{% include github branch='master' path='WELCOME.md' %}

结果

使用 source 链接到存储库中的源文件 src/main/java子树:

代码

{% include github branch='master' source='net/imagej/ImageJ.java' %}

结果

使用 orgrepo 链接到与 imagej/imagej

代码

{% include github org='fiji' repo='TrackMate' branch='master' path='README.md' %}

结果

您可以仅给出 repo(或仅给出 org),它将用于 orgrepo

代码

{% include github repo='fiji' branch='master'
  path='plugins/Examples/Fiji_Cube.ijm' %}

结果

如果您既没有给出 path 也没有给出 source 那么它会链接到 整个存储库:

代码

{% include github repo='fiji' %}

结果

使用 branchtag 指定分支或标签(而不是 main):

代码

{% include github tag='imagej-2.0.0-beta-7.9'
  path='app/src/test/java/imagej/debug/TypeHierarchy.java' %}

结果

单独指定 tag 链接到标签描述:

代码

{% include github tag='imagej-2.0.0-rc-44' %}

结果

使用 commit 指定提交哈希:

代码

{% include github
  commit='7a10880d485a13fc449d84c7e2eca3e1481064ee' %}

结果

使用 issuepr 指定问题或 PR 编号:

代码

{% include github issue=83 %}{% include github pr=88 %}

结果

使用 label 覆盖标签:

代码

{% include github repo='fiji' branch='master'
  path='plugins/Examples/Fiji_Logo_3D.js'
  label='Fiji...in 3D!' %}

结果

Java文档

代码

另请参阅
{% include javadoc project="SciJava" %}
javadocs.

结果

另请参阅 SciJava javadoc。

代码

另请参阅
{% 包括 javadoc
  项目=“ImageJ1”
  包=“ij.process”
类=“图像处理器”%}
类。

结果

另请参阅 ImageProcessor 类。

代码

另请参阅
{% include javadoc
  project="SciJava"
  package="org.scijava.module"
  class="ModuleService"
  anchor="getModules()" %}
方法。

结果

另请参阅 ModuleService#getModules() 方法。

代码

另请参阅
{% include javadoc package="net.imagej.ops"
  class="package-summary" label="ImageJ Ops" %}
javadoc。

结果

另请参阅 ImageJ Ops javadoc。

MATLAB

代码

Matlab有一个{% include matlab path='ref' function='axis' %}函数。

结果

Matlab 有一个axis函数。

Maven

代码

ImageJ 整体的 Maven 工件是
{% include maven g='net.imagej' a='imagej' v='2.0.0' %}

结果

ImageJ 整体的 Maven 工件是 net.imagej:imagej:2.0.0

学者

代码

查看{% include scholar cluster='8490320759898335020' label='NIH Image to ImageJ' %}

结果

代码

查看 NIH 图像到 ImageJ {% include scholar cluster='8490320759898335020'%}

结果

查看 NIH 图像到 ImageJ on Google Scholar

维基百科

代码

查看
{% include wikipedia title="ImageJ" %}
维基百科上的文章!

结果

查看 ImageJ 维基百科上的文章!