Title: Highlighting of SQL inside strings · Issue #27 · MagicStack/MagicPython · GitHub
Open Graph Title: Highlighting of SQL inside strings · Issue #27 · MagicStack/MagicPython
X Title: Highlighting of SQL inside strings · Issue #27 · MagicStack/MagicPython
Description: The stock Python package performs syntax highlighting inside strings containing SQL commands. That's rather useful, even though the implementation might need some more work. In this example: create = 'CREATE TABLE test (id INT, name TEXT...
Open Graph Description: The stock Python package performs syntax highlighting inside strings containing SQL commands. That's rather useful, even though the implementation might need some more work. In this example: create...
X Description: The stock Python package performs syntax highlighting inside strings containing SQL commands. That's rather useful, even though the implementation might need some more work. In this example: cr...
Opengraph URL: https://github.com/MagicStack/MagicPython/issues/27
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Highlighting of SQL inside strings","articleBody":"The stock Python package performs syntax highlighting inside strings containing SQL commands. That's rather useful, even though the implementation might need some more work. In this example:\n\n``` python\ncreate = 'CREATE TABLE test (id INT, name TEXT);'\ninsert = 'INSERT INTO test VALUES (1, \"Bob\")'\n```\n\nin the second line, words recognized as SQL are highlighted, but not in the first one, where \"CREATE TABLE\" has the same color as the non-reserved names.\n\n(Actually, as you can see, even Github's Markdown does it, with exactly the same behavior, so perhaps something is wrong with the first line, although it does execute properly)\n\nDo you consider this a useful addition?\n","author":{"url":"https://github.com/elpres","@type":"Person","name":"elpres"},"datePublished":"2015-11-10T15:19:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/27/MagicPython/issues/27"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f79bfad-c632-e9e8-4109-c6e633e10b34 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3C6:2D0F93:42148C:55D186:69767E5D |
| html-safe-nonce | 34420eecf2a268373087e9a093e8ff52324c8a7077ac3378ee17d1cc7793d7a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0M2OjJEMEY5Mzo0MjE0OEM6NTVEMTg2OjY5NzY3RTVEIiwidmlzaXRvcl9pZCI6IjY3NDgyNjMyMjE1MTg4MjcxMDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cffad037987b600df5ad7faf771942a8fd02c904e492e54a80aa27174ea91c98 |
| hovercard-subject-tag | issue:116127548 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MagicStack/MagicPython/27/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bd4e3247647cf81aed52009311fb96c062fa864c197058e5a93ffb5294445e31/MagicStack/MagicPython/issues/27 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bd4e3247647cf81aed52009311fb96c062fa864c197058e5a93ffb5294445e31/MagicStack/MagicPython/issues/27 |
| og:image:alt | The stock Python package performs syntax highlighting inside strings containing SQL commands. That's rather useful, even though the implementation might need some more work. In this example: create... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | elpres |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/MagicStack/MagicPython git https://github.com/MagicStack/MagicPython.git |
| octolytics-dimension-user_id | 14324950 |
| octolytics-dimension-user_login | MagicStack |
| octolytics-dimension-repository_id | 43982620 |
| octolytics-dimension-repository_nwo | MagicStack/MagicPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43982620 |
| octolytics-dimension-repository_network_root_nwo | MagicStack/MagicPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width