{"id":233188,"date":"2022-01-06T10:30:11","date_gmt":"2022-01-06T02:30:11","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=233188"},"modified":"2021-12-27T19:31:21","modified_gmt":"2021-12-27T11:31:21","slug":"linux-markdown-movie","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-markdown-movie.html","title":{"rendered":"\u5982\u4f55\u5728 Linux \u4e0a\u7528 Markdown \u7f16\u5199\u7535\u5f71\u5267\u672c"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nFountain markdown \u6280\u672f\u53ea\u9700\u8981\u4e00\u4e2a\u7eaf\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5982 Atom\u3001Kate\u3001Gedit \u6216\u7c7b\u4f3c\u7684\u7f16\u8f91\u5668\uff0c\u5b83\u53ef\u4ee5\u5bfc\u51fa\u4e00\u4e2a\u6b63\u786e\u683c\u5f0f\u7684 HTML \u6216 PDF \u5267\u672c\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

Fountain markdown \u6280\u672f\u53ea\u9700\u8981\u4e00\u4e2a\u7eaf\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5982 Atom\u3001Kate\u3001Gedit \u6216\u7c7b\u4f3c\u7684\u7f16\u8f91\u5668\uff0c\u5b83\u53ef\u4ee5\u5bfc\u51fa\u4e00\u4e2a\u6b63\u786e\u683c\u5f0f\u7684 HTML \u6216 PDF \u5267\u672c\u3002<\/p>\n

\u5267\u672c\u662f\u4e00\u90e8\u7535\u5f71\u7684\u84dd\u56fe\uff0c\u8fc7\u53bb\u5b83\u662f\u5728\u6253\u5b57\u673a\u4e0a\u64b0\u5199\u7684\u3002\u4f60\u4e70\u53f0\u6253\u5b57\u673a\u5c31\u53ef\u4ee5\u5199\u5267\u672c\uff0c\u53ef\u4ee5\u5199\u597d\u591a\u597d\u591a\u5267\u672c\u3002\u800c\u73b0\u5728\u6ca1\u4eba\u7528\u6253\u5b57\u673a\u5199\u5267\u672c\u4e86\uff0c\u56e0\u4e3a\u6253\u5b57\u673a\u4e0d\u518d\u6d41\u884c\u3002<\/p>\n

\u4e0d\u8fc7\uff0c\u4ee4\u4eba\u8d39\u89e3\u7684\u662f\uff0c\u968f\u7740\u5199\u4f5c\u6280\u672f\u53d8\u5f97 \u201c\u8d8a\u597d\u201d\uff0c\u5199\u5267\u672c\u5c31\u8d8a\u96be\u3002\u5728\u5267\u672c\u9886\u57df\u6709\u4e25\u683c\u7684\u683c\u5f0f\u5316\u89c4\u5219\uff0c\u4ee5\u5e2e\u52a9\u7535\u5f71\u62cd\u6444\u4e2d\u7684\u52a9\u7406\u5bfc\u6f14\uff08AD\uff09\u4f30\u8ba1\u6bcf\u4e2a\u573a\u666f\u9700\u8981\u62cd\u6444\u591a\u957f\u65f6\u95f4\u3002\u4f60\u53ef\u80fd\u8ba4\u4e3a\u7535\u8111\u4f1a\u6bd4\u5728\u6253\u5b57\u673a\u4e0a\u7684\u5b8c\u5168\u624b\u5de5\u8fc7\u7a0b\u66f4\u5bb9\u6613\u505a\u5230\u3002\u7136\u800c\uff0c\u6d41\u884c\u7684\u8ba1\u7b97\u673a\u5374\u7528\u6602\u8d35\u7684\u8f6f\u4ef6\u6765\u9650\u5236\u4f5c\u5bb6\uff0c\u8fd9\u4e9b\u8f6f\u4ef6\u5df2\u7ecf\u5d4c\u5165\u4e86\u597d\u83b1\u575e\u6587\u5316\u3002\u5982\u679c\u4f60\u6ca1\u6709\u5408\u9002\u7684\u8f6f\u4ef6\uff0c\u4f60\u5c31\u4f1a\u88ab\u544a\u77e5\uff0c\u4f60\u6c38\u8fdc\u4e0d\u53ef\u80fd\u6210\u4e3a\u4e00\u4e2a\u6b63\u5f0f\u7684\u7f16\u5267\u3002<\/p>\n

\u4e0d\u8fc7\uff0c\u6240\u6709\u8fd9\u4e9b\u90fd\u968f\u7740\u5f00\u6e90\u8f6f\u4ef6\u7684\u51fa\u73b0\u800c\u6539\u53d8\uff0c\u5199\u5267\u672c\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u4e4b\u4e00\u5c31\u662f\u6839\u672c\u4e0d\u4f7f\u7528\u7279\u6b8a\u7684\u8f6f\u4ef6\u3002Fountain markdown \u6280\u672f\u53ea\u9700\u8981\u4e00\u4e2a\u7eaf\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5982 Atom\u3001Kate\u3001Gedit\uff0c\u6216\u7c7b\u4f3c\u7684\uff0c\u5b83\u53ef\u4ee5\u5bfc\u51fa\u4e00\u4e2a\u6b63\u786e\u683c\u5f0f\u7684 HTML \u6216 PDF \u5267\u672c\u3002<\/p>\n

\u5b89\u88c5 Fountain<\/strong><\/div>\n

Fountain \u4e0d\u9700\u8981\u5b89\u88c5\uff0c\u56e0\u4e3a\u5b83\u4e0d\u662f\u8f6f\u4ef6\uff1b\u5b83\u662f\u4e00\u5957\u4f60\u5728\u5199\u4f5c\u65f6\u4f7f\u7528\u7684\u89c4\u5219\u3002\u4f60\u5728\u5199\u4f5c\u65f6\u5df2\u7ecf\u9075\u5faa\u4e86\u4e00\u4e9b\u89c4\u5219\uff0c\u6bd4\u5982\u4f60\u628a\u53e5\u5b50\u7684\u7b2c\u4e00\u4e2a\u5b57\u6bcd\u5927\u5199\uff0c\u7528\u53e5\u53f7\u6765\u7ed3\u675f\u6bcf\u53e5\u8bdd\uff0c\u7b49\u7b49\u3002\u5f53\u4f60\u7528 Fountain \u5199\u4f5c\u65f6\uff0c\u53ea\u9700\u8981\u6dfb\u52a0\u4e00\u4e9b\u4e13\u95e8\u9488\u5bf9\u5267\u672c\u7684\u65b0\u89c4\u5219\u3002<\/p>\n

\u7247\u6bb5<\/strong><\/div>\n

\u5728\u5267\u672c\u4e2d\uff0c\u6bcf\u4e2a\u573a\u666f\u90fd\u7531\u4e00\u884c\u5927\u5199\u5b57\u6bcd\u5212\u5b9a\uff0c\u4ee5 INT. \u6216 EXT. \u5f00\u5934\uff0c\u7136\u540e\u662f\u4e00\u4e2a\u5730\u70b9\u3001\u4e00\u4e2a\u7834\u6298\u53f7\uff0c\u4ee5\u53ca\u4e00\u5929\u4e2d\u7684\u65f6\u95f4\u3002\u8fd9\u4e9b\u8bf4\u660e\u88ab\u79f0\u4e3a \u201c\u7247\u6bb5\u201d\u3002\u65b9\u4fbf\u7684\u662f\uff0c\u8fd9\u4e5f\u662f Fountain \u7684\u89c4\u5219\uff0c\u6240\u4ee5\u4e0d\u7528\u8bb0\u4f4f\u4ec0\u4e48\u65b0\u7684\u4e1c\u897f\u5c31\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7247\u6bb5\u3002<\/p>\n

\r\nEXT. CASTLE COURTYARD - DAY\r\n<\/pre>\n
\u52a8\u4f5c<\/strong><\/div>\n

\u5f53\u6f14\u5458\u88ab\u8981\u6c42\u6267\u884c\u4e00\u4e2a\u7279\u5b9a\u7684\u52a8\u4f5c\u65f6\uff0c\u5267\u672c\u4e2d\u5c31\u4f1a\u5305\u542b\u52a8\u4f5c\u6587\u672c\u3002\u8fd9\u662f\u6b63\u5e38\u7684\u666e\u901a\u6587\u672c\uff0c\u5b8c\u5168\u6309\u7167\u4f60\u5728\u4e66\u4e2d\u5199\u7684\u6587\u5b57\u6765\u5199\u3002\u6240\u6709\u6b63\u5e38\u7684\u89c4\u5219\u90fd\u9002\u7528\uff0c\u6240\u4ee5\u5bf9\u52a8\u4f5c\u6587\u672c\u4e0d\u7528\u7279\u522b\u8bb0\u4ec0\u4e48\u89c4\u5219\u3002<\/p>\n

\r\nA wizard wanders out of a great stone door. She approaches the center of the courtyard and pauses. Something's caught her eye.\r\n \r\nIt's a book. She leans down and picks it up.\r\n<\/pre>\n
\u5bf9\u8bdd<\/strong><\/div>\n

\u5267\u672c\u4e2d\u7684\u5bf9\u8bdd\u683c\u5f0f\u662f\u4ece\u5de6\u53f3\u8fb9\u8ddd\u7f29\u8fdb\u7684\u3002\u5bf9\u4e8e\u666e\u901a\u89c2\u4f17\u6765\u8bf4\uff0c\u5b83\u53ef\u80fd\u770b\u8d77\u6765\u662f\u5c45\u4e2d\u7684\uff0c\u4f46\u5b9e\u9645\u4e0a\u5b83\u662f\u5de6\u5bf9\u9f50\u7684\u3002\u91c7\u7528\u8fd9\u79cd\u683c\u5f0f\u662f\u4e3a\u4e86\u5e2e\u52a9\u6f14\u5458\u5b9a\u4f4d\u4ed6\u4eec\u7684\u53f0\u8bcd\uff0c\u5e76\u4f7f\u5f97\u5267\u672c\u7ed9\u53e3\u8bed\u5bf9\u8bdd\u7559\u51fa\u66f4\u591a\u7684\u7a7a\u95f4\uff0c\u56e0\u4e3a\u5728\u7535\u5f71\u4e2d\uff0c\u53e3\u8bed\u5bf9\u8bdd\u5f80\u5f80\u5360\u636e\u4e86\u5927\u90e8\u5206\u7684\u65f6\u95f4\u3002<\/p>\n

\u5728 Fountain \u4e2d\uff0c\u5bf9\u8bdd\u7684\u89c4\u5219\u662f\u7528\u5927\u5199\u5b57\u6bcd\u5199\u51fa\u8bf4\u8bdd\u7684\u89d2\u8272\u7684\u540d\u5b57\u3002\u7136\u540e\u5728\u4e0b\u4e00\u884c\uff0c\u6b63\u5e38\u5199\u51fa\u5bf9\u8bdd\u5185\u5bb9\u3002<\/p>\n

\r\nWIZARD\r\n \r\nI can sense your power. Grep? Sed? What strange terms!\r\n<\/pre>\n

\u5f53\u4f60\u5bfc\u51fa\u4f60\u7684\u5267\u672c\u65f6\uff0c\u5bf9\u8bdd\u4f1a\u88ab\u8c03\u6574\u4e3a\u9002\u5f53\u7684\u683c\u5f0f\u3002<\/p>\n

\u8f6c\u573a<\/strong><\/div>\n

\u73b0\u5728\u8fd9\u79cd\u505a\u6cd5\u5df2\u7ecf\u4e0d\u6d41\u884c\u4e86\uff0c\u4f46\u4f20\u7edf\u4e0a\uff0c\u5728\u5267\u672c\u4e2d\u4f1a\u6709\u4e00\u4e9b\u7279\u6b8a\u7684\u8f6c\u573a\u8ff9\u8c61\uff0c\u56e0\u4e3a\u5728\u5f88\u4e45\u4ee5\u524d\uff0c\u4e00\u4e9b\u8f6c\u573a\u662f\u8981\u82b1\u5f88\u591a\u94b1\u7684\u3002\u4eca\u5929\uff0c\u4f60\u4ecd\u7136\u53ef\u4ee5\u5728\u5267\u672c\u4e2d\u770b\u5230\u8f6c\u573a\uff0c\u4f46\u5b83\u5f80\u5f80\u66f4\u591a\u7684\u662f\u4f5c\u4e3a\u4e00\u7ec4\u573a\u666f\uff08\u6216\u8005\uff0c\u7ecf\u5178\u7684\u6574\u4e2a\u7535\u5f71\u6de1\u51faFADE OUT.\uff09\u7684\u4e00\u79cd\u6807\u70b9\u7b26\u53f7\uff0c\u800c\u4e0d\u662f\u5bf9\u7f16\u8f91\u7684\u5b9e\u9645\u6307\u793a\u3002<\/p>\n

\u8981\u5728 Fountain \u4e2d\u521b\u5efa\u4e00\u4e2a\u8fc7\u6e21\uff0c\u5728\u4f60\u7684\u6587\u672c\u524d\u52a0\u4e0a\u5927\u4e8e\u53f7\uff08>\uff09\u3002<\/p>\n

\r\n>ANGLE ON:\r\n \r\nThe book's title page. It reads \"Introduction to Linux.\"\r\n \r\n>FADE OUT.\r\n<\/pre>\n
\u66f4\u591a\u7684\u89c4\u5219<\/strong><\/div>\n

\u4f60\u53ef\u4ee5\u5728\u4f60\u7684\u5267\u672c\u4e2d\u4f7f\u7528\u8bb8\u591a\u5176\u4ed6\u7684 Markdown \u7ea6\u5b9a\uff0c\u6bd4\u5982\u7528\u661f\u53f7\u6765\u659c\u4f53\u3001\u52a0\u7c97\u548c\u7ed9\u6587\u5b57\u52a0\u4e0b\u5212\u7ebf\u3002\u5728 Fountain \u4e2d\u8fd8\u6709\u66f4\u591a\u7684\u89c4\u5219\u6765\u5904\u7406\u8fb9\u7f18\u60c5\u51b5\u548c\u98ce\u683c\u4e0a\u7684\u4f8b\u5916\uff0c\u4f46\u8fd9\u56db\u6761\u89c4\u5219\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u662f\u4f60\u6240\u9700\u8981\u7684\u3002<\/p>\n

\u4e0d\u8fc7\uff0cFountain \u7684\u7b80\u5355\u6027\u8868\u660e\uff0c\u4e00\u767e\u5e74\u524d\u7684\u5267\u672c\u683c\u5f0f\u8bbe\u8ba1\u5f97\u591a\u4e48\u597d\u3002\u5b83\u6709\u4e00\u4e2a\u6807\u51c6\u7684\u7ed3\u6784\uff0c\u4f7f\u4eba\u7684\u773c\u775b\u5f88\u5bb9\u6613\u89e3\u6790\uff0c\u8fd9\u79cd\u53ef\u9884\u6d4b\u6027\u4e5f\u80fd\u5f88\u597d\u5730\u8f6c\u5316\u4e3a\u8ba1\u7b97\u673a\u7684\u89e3\u6790\u3002<\/p>\n

\u8f93\u51fa\u548c\u6e32\u67d3<\/strong><\/div>\n

\u4e00\u65e6\u4f60\u5199\u5b8c\u4e86\uff0c\u4f60\u5c31\u53ef\u4ee5\u4f7f\u7528\u6e32\u67d3\u7a0b\u5e8f\u5c06\u4f60\u7684\u5267\u672c\u5bfc\u51fa\u4e3a\u9002\u5f53\u7684\u683c\u5f0f\u3002\u6709 \u51e0\u4e2a\u6e32\u67d3\u5668\u53ef\u7528\uff0c\u4f46\u6211\u6700\u559c\u6b22\u7684\u662f Atom \u7f16\u8f91\u5668\u3002\u8981\u914d\u7f6e Atom \u4ee5\u9002\u5f53\u7684\u683c\u5f0f\u663e\u793a Fountain \u9884\u89c8\u6587\u4ef6\uff0c\u5e76\u5728\u5b8c\u6210\u540e\u5c06\u5176\u5bfc\u51fa\u4e3a PDF\uff0c\u8bf7\u8fdb\u5165\u201c\u7f16\u8f91\u201d \u83dc\u5355\uff0c\u9009\u62e9 \u201c\u504f\u597d\u201d\uff0c\u5e76\u70b9\u51fb\u5de6\u4fa7\u9762\u677f\u4e2d\u7684 \u201c\u5b89\u88c5\u201d \u94fe\u63a5\u3002\u5728\u641c\u7d22\u680f\u4e2d\uff0c\u8f93\u5165 \u201cfountain\u201d \u6765\u5b89\u88c5\u7531\u5f00\u53d1\u8005 superlou \u53d1\u5e03\u7684 Fountain \u63d2\u4ef6\u3002<\/p>\n

\"\"<\/p>\n

\u5728\u5b89\u88c5\u65f6\uff0c\u4f60\u4f1a\u88ab\u63d0\u793a\u540c\u610f\u5b89\u88c5\u5b83\u7684\u4e00\u4e9b\u4f9d\u8d56\u9879\u3002\u4e00\u65e6\u5b89\u88c5\u5b8c\u6bd5\uff0c\u4f60\u53ef\u4ee5\u8fdb\u5165 \u201c\u8f6f\u4ef6\u5305\u201d \u83dc\u5355\uff0c\u9009\u62e9 \u201cFountain\u201d\uff0c\u7136\u540e\u67e5\u770b\u4f60\u7684\u5267\u672c\u9884\u89c8\u6216\u5bfc\u51fa PDF \u7248\u672c\u3002<\/p>\n

Emacs \u4e5f\u6709\u4e00\u4e2a Fountain \u6a21\u5f0f \uff0c\u5b83\u8fd8\u53ef\u4ee5\u5728\u4f60\u8f93\u5165\u65f6\u6267\u884c\u4e00\u4e9b\u57fa\u672c\u7684\u683c\u5f0f\u5316\u3002<\/p>\n

\"\"<\/p>\n

\u65e0\u8bba\u4f60\u4f7f\u7528\u4ec0\u4e48\u6587\u672c\u7f16\u8f91\u5668\uff0c\u4f60\u603b\u662f\u53ef\u4ee5\u4f7f\u7528\u4e13\u95e8\u7684\u5e94\u7528\u7a0b\u5e8f\u6765\u6e32\u67d3\u4f60\u7684\u5267\u672c\u3002\u6709\u4e00\u4e2a\u53eb Screenplain \u7684 Python \u6a21\u5757\u6211\u89c9\u5f97\u5f88\u597d\u7528\u3002\u8981\u5b89\u88c5\u5b83\uff0c\u8bf7\u5728\u7ec8\u7aef\u952e\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n

\r\n$ python3 -m pip install 'screenplain[PDF]' --user\r\n<\/pre>\n

\u8fd9\u6837\u5c06\u4e00\u4e2a\u5267\u672c\u6e32\u67d3\u6210 PDF\uff1a<\/p>\n

\r\n$ screenplain --format pdf myscreenplay.fountain > script.pdf \r\n<\/pre>\n
\u5f00\u6e90\u7684\u7535\u5f71\u5267\u672c<\/strong><\/div>\n

Fountain \u662f\u65b9\u4fbf\u7684\u3002\u4f60\u53ef\u4ee5\u64b0\u5199\u4f60\u7684\u5267\u672c\uff0c\u800c\u4e0d\u9700\u8981\u7279\u522b\u590d\u6742\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

Fountain \u662f\u7701\u94b1\u7684\u3002\u4f60\u53ef\u4ee5\u64b0\u5199\u4f60\u7684\u5267\u672c\u800c\u4e0d\u9700\u8981\u6602\u8d35\u7684\u8f6f\u4ef6\u3002<\/p>\n

Fountain \u662f\u7075\u6d3b\u7684\u3002\u4f60\u53ef\u4ee5\u5728\u4f60\u7528\u6765\u5199\u4f5c\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8fdb\u884c\u521b\u4f5c\u3002<\/p>\n

Fountain \u662f\u9002\u5b9c\u4fdd\u5b58\u7684\u3002\u4f60\u4e0d\u4f1a\u56e0\u4e3a\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u8fc7\u65f6\u4e86\uff0c\u6216\u8005\u6ca1\u6709\u5546\u4e1a\u652f\u6301\u4e86\uff0c\u6216\u8005\u56e0\u4e3a\u4f60\u4e70\u4e0d\u8d77\u800c\u4e0d\u80fd\u8bbf\u95ee\u4f60\u7684\u4f5c\u54c1\u3002<\/p>\n

\u4f7f\u7528 Fountain \u6709\u5f88\u591a\u5f88\u597d\u7684\u7406\u7531\uff0c\u4f46\u6700\u91cd\u8981\u7684\u4e00\u70b9\u662f\u5b83\u80fd\u5e2e\u52a9\u4f60\u4e13\u6ce8\u4e8e\u521b\u4f5c\u3002\u5982\u679c\u4f60\u5fc3\u4e2d\u915d\u917f\u4e86\u4e00\u90e8\u7535\u5f71\uff0c\u5c31\u7528 Fountain \u6765\u5199\u3002\u8fd9\u662f\u901a\u5411\u53ef\u80fd\u662f\u4e00\u4e2a\u975e\u5e38\u4ee4\u4eba\u5174\u594b\u7684\u65c5\u7a0b\u7684\u7b2c\u4e00\u6b65\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Fountain markdown \u6280\u672f\u53ea\u9700\u8981\u4e00\u4e2a\u7eaf\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5982 Atom\u3001Kate\u3001Gedit \u6216\u7c7b\u4f3c\u7684\u7f16 […]<\/p>\n","protected":false},"author":370,"featured_media":229809,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-233188","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/233188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/370"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=233188"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/233188\/revisions"}],"predecessor-version":[{"id":233192,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/233188\/revisions\/233192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/229809"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=233188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=233188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=233188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}