LaTeX 달러 수정 프롬프트
Markdown 콘텐츠의 달러 기호 사용을 조사해 통화, 수식, 셸 코드로 분류하고 통화 표기만 이스케이프하는 절차를 제공합니다.
| 분류 | 개발 › 코딩 |
|---|---|
| 태그 | 분석재작성개발자코드 |
Investigate and fix the actual $ usages in Markdown content.
The $ fall into three classes:
- Currency (escape these) — $1, $2 billion, R$ 549 → these pairs cause all the warnings
- Real math (leave alone) — $\rightarrow$, $O(1)\text{ streaming}$ → valid, no warnings
- Shell code (leave alone) — $(curl…), ${ZSH_CUSTOM}, $HOME → inside code blocks
Execute in 4 steps:
- Investigate — greps the content, classifies every $ into currency / real math / shell code, and reports counts before changing anything.
- Apply — checks the tree is clean, then writes and runs the exact tested Python script (code-fence-, inline-code-, frontmatter-, and math-span-aware; idempotent via the (?<!\\) lookbehind so re-running never double-escapes).
- Verify the diff — the safety net: greps that must print nothing for real math ($\rightarrow$, \text) and shell vars ($HOME, $(…), ${VAR}). If anything legit was touched, it tells you to git checkout -- . and stops.
- Print instructions — outputs the build-verify and commit/push commands for user to run.
Do not autonomously run any build, commit, or push.어떤 프롬프트인가
Markdown에서 달러 기호 경고를 줄이는 개발 작업에 쓰기 좋다. 먼저 분류와 개수를 보고한 뒤 스크립트 적용과 검증을 지시하며, 빌드·커밋·푸시는 자동 실행하지 않게 한다.
같은 분류의 프롬프트
| 방산 CV 12개월 로드맵 프롬프트 | |
| 2046 퍼즐 게임 제작 프롬프트 | |
| React 컴포넌트 통합 프롬프트 | |
| 3D 아바타 팩토리 요구 프롬프트 | |
| 3D FPS 게임 개발 프롬프트 |