Ieskaitot Markdown failus
Varat iekļaut Markdown failus pašreizējā Markdown failā normālai apstrādei, izmantojot direktīvu << >>
, kas ietver nepieciešamo faila ceļu. Ceļam jābūt relatīvam pret pašreizējo .md
avota failu — absolūtos ceļus nevajadzētu izmantot. << >>
direktīva ir bloka direktīva, un tāpēc tai ir jāparādās rindā.
Piemēram, ja pašreizējais fails en/time-travel/example.md
vēlas iekļaut failu en/time-travel/_samples/_sample.md
, tas norāda:
Project: /integration-tests/_project.yaml
Book: /integration-tests/_book.yaml
robots: noindex
# Included Sample Markdown files
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Translation issue","translationIssue","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-24 UTC."],[],[]]