<?xml version="1.0"?>
<SyntaxDefinition name="Markdown Highlighting"
                  xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008" >
  <!--艳红-->
  <Color name="Heading1" foreground="#FF4C55" fontWeight="bold"/>
  <!--橙红-->
  <Color name="Heading2" foreground="#FF6A00" fontWeight="bold"/>
  <!--深绿-->
  <Color name="Heading3" foreground="#008F00" fontWeight="bold"/>
  <!--深青-->
  <Color name="Heading4" foreground="#008E82" fontWeight="bold"/>
  <!--蓝-->
  <Color name="Heading5" foreground="#0755D1" fontWeight="bold"/>
  <!--紫-->
  <Color name="Heading6" foreground="#C100AE" fontWeight="bold"/>

  <RuleSet ignoreCase="true">

    <!--H1-->
    <Rule color="Heading1">
      ^[##][^##].*$
    </Rule>
    <!-- End H1 -->

    <!--H2-->
    <Rule color="Heading2">
      ^[##]{2}[^##].*$
    </Rule>
    <!-- End H2 -->

    <!--H3-->
    <Rule color="Heading3">
      ^[##]{3}[^##].*$
    </Rule>
    <!-- End H3 -->

    <!--H4-->
    <Rule color="Heading4">
      ^[##]{4}[^##].*$
    </Rule>
    <!-- End H4 -->

    <!--H5-->
    <Rule color="Heading5">
      ^[##]{5}[^##].*$
    </Rule>
    <!-- End H5 -->

    <!--H6-->
    <Rule color="Heading6">
      ^[##]{6}.*$
    </Rule>
    <!-- End H6 -->
  </RuleSet>
</SyntaxDefinition>