```coffeescript
'name': 'Pweave markdown'
scopeName: 'source.pweave.md'
'fileTypes': [
  'pmd'
  'pmdw'
]
patterns: [
    {
      'include' : 'source.pweave.noweb'
    }
    {
    'begin': '^([`~]{3,})(\\{|\\{\\.|)(python)(,|)\\s*(.*?)(\\}|)\\s*$'
    'beginCaptures':
      '1':
        'name': 'markup.heading.weave.md'
      '3':
        'name': 'markup.bold.weave.md'
      '5':
        'contentName' : 'source.embedded.python'
        'patterns': [
          {
            'include': 'source.python'
          }
        ]
    'end': '^[`~]{3,}\\s*$'
    'endCaptures':
      '0':
        'name': 'markup.heading.weave.md'
    'contentName': 'source.embedded.python'
    'patterns': [
      {
        'include': 'source.python'
      }
    ]
    }
    {
      'include': 'source.gfm'
    }
    {
      'include': 'text.md'
    }

  ]
```

Add python syntax highlighting to inline code chunks
user
```coffeescript
'name': 'Pweave markdown'
scopeName: 'source.pweave.md'
'fileTypes': [
  'pmd'
  'pmdw'
]
patterns: [
    {
      'include' : 'source.pweave.noweb'
    }
    {
    'begin': '^([`~]{3,})(\\{|\\{\\.|)(python)(,|)\\s*(.*?)(\\}|)\\s*$'
    'beginCaptures':
      '1':
        'name': 'markup.heading.weave.md'
      '3':
        'name': 'markup.bold.weave.md'
      '5':
        'contentName' : 'source.embedded.python'
        'patterns': [
          {
            'include': 'source.python'
          }
        ]
    'end': '^[`~]{3,}\\s*$'
    'endCaptures':
      '0':
        'name': 'markup.heading.weave.md'
    'contentName': 'source.embedded.python'
    'patterns': [
      {
        'include': 'source.python'
      }
    ]
    }
    {
      'begin': '\\<\\%=?'
      'beginCaptures':
        '0':
          'name': 'markup.bold.weave.md'
      'end': '\\%\\>'
      'endCaptures':
        '0':
          'name': 'markup.bold.weave.md'
      'contentName': 'source.embedded.python'
      'patterns': [
        {
          'include': 'source.python'
        }
      ]
    }
    {
      'include': 'source.gfm'
    }
    {
      'include': 'text.md'
    }

  ]
```
assistant