<!ELEMENT extension (templates+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
><!ELEMENT template EMPTY>
<!ATTLIST template
name CDATA #REQUIRED
description CDATA #REQUIRED
autoInsert CDATA #IMPLIED
content CDATA #IMPLIED
block CDATA #IMPLIED
><!ELEMENT templates (template+)>
<!ATTLIST templates
markupLanguage CDATA #REQUIRED
><extension point="org.eclipse.mylyn.wikitext.ui.contentAssist"> <templates markupLanguage="Textile"> <!-- phrase modifiers --> <template name="_" description="%template.description.emphasis" content="_${text}_ $"/> <template name="*" description="%template.description.bold" content="*${text}* $"/> <template name="@" description="%template.description.code" content="@${text}@ $"/> <!-- block templates --> <template name="h1. " description="%template.description.heading1" content="\nh1. ${text}\n\n" block="true"/> <template name="h2. " description="%template.description.heading2" content="\nh2. ${text}\n\n" block="true"/> <template name="h3. " description="%template.description.heading3" content="\nh3. ${text}\n\n" block="true"/> <template name="bc. " description="%template.description.blockCode" content="\nbc. ${text}\n\n" block="true"/> <template name="bq. " description="%template.description.blockQuote" content="\nbq. ${text}\n\n" block="true"/> <template name="# " description="%template.description.numericList" content="\n# ${text}\n# ${text2}\n\n" block="true"/> <template name="* " description="%template.description.bulletedList" content="\n* ${text}\n* ${text2}\n\n" block="true"/> <template name="!" description="%template.description.image" content="!${text}! $"/> <template name=""" description="%template.description.hyperlink" content=""${text}":${url} $"/> </templates> </extension>
Copyright (c) 2007, 2009 David Green and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html