Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

446 B
Raw Blame
// Python. The JS twin of python.py.
import { always } from './registry.mjs';

export const LANGUAGE = {
  name: 'PYTHON',
  extensions: ['py'],
  menu: [{ label: 'Python', ext: 'py' }],
  syntax: {
    line: [['#', always]],
    block: [],
    strings: [['"""', '"""', true], ["'''", "'''", true], ['"', '"', true], ["'", "'", true]],
    matchers: [],
    cont: '',
    docMarkers: [],
    docstrings: [['"""', '"""'], ["'''", "'''"]],
  },
};